在没有 Chocolatey 的情况下安装 Meteor.js

Installing Meteor.js without Chocolatey

如标题所示,我正在寻找安装 Meteor.js without Chocolatey 包管理器的方法。我有什么办法可以做到吗?我还应该提到我是 运行 Windows.

https://install.meteor.com/windows. I was able to see this in the installation script:

似乎有可用的安装程序
if [ "$UNAME" ">" "MINGW" -a "$UNAME" "<" "MINGX" ] ; then
    echo "To install Meteor on Windows, download the installer from:"
    echo "https://install.meteor.com/windows"
    exit 1
fi

我注意到 Chocolatey 需要安装 .NET 二进制文件。我认为有很多开发人员出于各种原因喜欢避免使用 .NET,因此也会避免使用 Chocolatey。

如果您使用的是 Windows 10,安装 Linux 子系统是一个很好的解决方案。然后你可以从 linux 提示符安装流星:

curl https://install.meteor.com/ | sh

在 Win 10 上安装 linux 子系统的一组说明是 here

我更新了 maka-cli (www.maka-cli.com) 以包含 windows 10 的安装程序(也适用于 Linux 和 Mac):

npm install -g maka-cli maka install meteor

有一种新的基于 NPM 的本机方法可以在没有 Chocolatey 的情况下安装 Meteor。请参阅指南:https://github.com/meteor/meteor/blob/devel/npm-packages/meteor-installer/README.md