Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
13
Help us understand the problem. What is going on with this article?

More than 3 years have passed since last update.

@hitomatagi

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

はじめに

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
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
13
Help us understand the problem. What is going on with this article?