Skip to content

Instantly share code, notes, and snippets.

@7tsuno
Created December 11, 2016 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7tsuno/745b6b7bbcfec9bedee90995c908a943 to your computer and use it in GitHub Desktop.
Save 7tsuno/745b6b7bbcfec9bedee90995c908a943 to your computer and use it in GitHub Desktop.
【Node.js】Windows10でNode.jsの実行環境を作る ref: http://qiita.com/7tsuno/items/e666223d6be22d657542
# Node.js がインストール済みの場合だけ設定を有効化
if [[ -f ~/.nvm/nvm.sh ]]; then
source ~/.nvm/nvm.sh
fi
$ apt-get install git
$ git clone https://github.com/creationix/nvm.git ~/.nvm
$ source ~/.nvm/nvm.sh
$ nvm ls-remote
v6.8.0
v6.8.1
v6.9.0 (LTS: Boron)
v6.9.1 (LTS: Boron)
v6.9.2 (Latest LTS: Boron)
v7.0.0
v7.1.0
v7.2.0
$ nvm install 7.2.0
$ nvm use 7.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment