13
13

More than 5 years have passed since last update.

nodistでNode.jsのバージョン管理

Last updated at Posted at 2017-07-10

はじめに

nodistとはWindowsのcmd, Powershell, Git bash, CygwinでNode.jsのバージョンを上げ下げするツールです。
Node.jsのバージョンの更新は1コマンドで可能です。

以下、自分用メモです。

インストール

インストーラ(NodistSetup-vx.x.x.exe)でNodistをインストール。

バージョンアップ

  • 利用可能なバージョンの確認
$ nodist dist
  ...
  9.7.1
  9.8.0
  9.9.0
  9.10.0
  9.10.1
  9.11.0
  9.11.1
  10.0.0
  10.1.0
  • Node.jsのバージョンを更新
$ nodist 10.1.0
10.1.0
Installing 10.1.0
 10.1.0 [===============] 22678/22678 KiB 100% 0.0s
Installation successful.
  • 確認
$ node -v
v10.1.0
  • npmのバージョンを更新
$ nodist npm 6.0.1
13
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
13