0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

そうだ。NodeをNVMで管理しよう

Posted at

1.公式からNVMをDL:

nvm-windows Releases (GitHub)

  • 最新の nvm-setup.exe をダウンロードして実行

  • インストール中はデフォルト設定でOK(保存場所は C:\Program Files\nvm

  • インストール後は端末を再起動

2.DL可能なNodeバージョンを表示

 nvm list available

3.Node.js を nvm でインストール

nvm install 20.18.1

有効化

nvm use 20.18.1

4.Nodeバージョン確認コマンド

node -v   # → v20.18.1
npm -v    # → 対応するnpmバージョン
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?