Node.js の古いバージョンに変更する方法 質問する

Node.js の古いバージョンに変更する方法 質問する

v0.5.9-preUbuntu 10.10 でNode.js バージョンを実行しています。

バージョン を使用したいと思いますv0.5.0-pre

ノードの古いバージョンにロールバックするにはどうすればよいですか?

ベストアンサー1

*NIX (Linux、OS X、...)

nを使用するnpm 経由でインストールできる非常にシンプルな Node バージョン マネージャーです。

Node.js v0.10.xをビルドしたいとします原子

npm install -g n   # Install n globally
n 0.10.33          # Install and use v0.10.33
Usage:
n                            # Output versions installed
n latest                     # Install or activate the latest node release
n stable                     # Install or activate the latest stable node release
n <version>                  # Install node <version>
n use <version> [args ...]   # Execute node <version> with [args ...]
n bin <version>              # Output bin path for <version>
n rm <version ...>           # Remove the given version(s)
n --latest                   # Output the latest node version available
n --stable                   # Output the latest stable node version available
n ls                         # Output the versions of node available

 

ウィンドウズ

使用nvm-ウィンドウズ、それはまるでいいえWindows用です。ダウンロードして実行してください。インストーラ、 それから:

nvm install v0.10.33         # Install v0.10.33
nvm use v0.10.33             # Use v0.10.33
Usage:
nvm install [version]        # Download and install [version]
nvm uninstall [version]      # Uninstall [version]
nvm use [version]            # Switch to use [version]
nvm list                     # List installed versions

おすすめ記事