chocolatey:meteor v0.0.2 是根据您的来源提供的最新版本

chocolatey: meteor v0.0.2 is the latest version available based on your source(s)

我按照 Windows(10) 上的说明在 Meteor.com (choco install meteor) 上安装了 meteor 1.6,并且安装了 meteor v0.0.2 ?

当我尝试 运行 任何 meteor 命令时,我得到:bash: meteor: command not found

当我尝试 choco upgrade meteor 时,我得到:

$ choco upgrade meteor
Chocolatey v0.10.8
Upgrading the following packages:
meteor
By upgrading you accept licenses for the packages.
meteor v0.0.2 is the latest version available based on your source(s).

Chocolatey upgraded 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

我试过 choco uninstall meteor 然后重新安装 choco instlal meteor 但同样的问题。在网上搜索了一下,我找到了这个页面:

我确实安装了 meteor 并且在 Window 10 的 Ubuntu bash 版本 1.6.0.1 上安装了 运行ning,它是通过 curl https://install.meteor.com/ | sh 安装的

最好的建议是联系 chocolatey.org 包的维护者。这可以通过单击此页面的 "Contact Maintainers" link 来完成:

https://chocolatey.org/packages/meteor

应用程序的创建者似乎也拥有 Chocolatey 程序包,因此希望他们会回复您。

继上文 post by Gary Ewan Park. The below comment on https://chocolatey.org/packages/meteor 阐明 Chocolately/Meteor 版本控制

The current version of Meteor is 1.6; is this the version in the 0.0.2 Chocolatey package?

[Garrie Powers • 2 months ago]

The version number of the Chocolatey package is the version of the installer. Meteor is unique in the way it works in that all versions are capable of springboarding to other versions. Therefore, in the same way as the Unix installer installs the latest version, the Chocolatey installer will always install the latest version. So at this exact moment, the answer to your question is "yes"!

[Jesse Rosenberger Garrie Powers • 2 months ago]

来自official installer github

The version of this Meteor installer is not to be confused with Meteor itself. Meteor, once installed, will always "springboard" to (download, install and run) the correct version of Meteor necessary for the application being executed.

...

When necessary, specific versions of Meteor can be installed using Chocoloatey's --params argument which will download that specific version from Meteor's installation server. For example, to install Meteor 1.5.4.4:

C:> choco install meteor --params="'/RELEASE:1.6.0.1'"

Note: Prior to Meteor 1.6, 64-bit versions were not available. Therefore, in order to install versions prior to Meteor 1.6, you'll also need to pass Chocolatey's --x86 option when running choco install on 64-bit Windows platforms. For example:

C:> choco install meteor --x86 --params="'/RELEASE:1.5.4.4'"