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.js バージョンアップ手順(nvm 使用)

Posted at

1. 利用可能な Node.js v22 系を確認

nvm ls-remote 22

→ v22.0.0 〜 v22.19.0 が表示され、v22.19.0 が Latest LTS: Jod。

2. 最新版 (v22.19.0) をインストール

nvm install 22.19.0
  • 正常にダウンロード & インストール完了。

  • npm は v10.9.3 がセットで導入された。

3. インストールしたバージョンを使用

nvm use 22.19.0

4. デフォルトバージョンに設定

nvm alias default 22.19.0

5. 確認

node -v

v22.19.0

✅ これで Node.js のデフォルトは 22.19.0 (LTS: Jod) に固定済み。

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?