インストール
Windows11
Linux
node.jsのバージョン管理
最新版のバージョン番号を確認
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
再起動
コマンド
最新版インストール
$ nvm install node
リスト
$ nvm list
切り替え
$ nvm use 18.14.1
削除
$ nvm uninstall 18.14.1
node.jsのバージョン管理
最新版のバージョン番号を確認
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
再起動
最新版インストール
$ nvm install node
リスト
$ nvm list
切り替え
$ nvm use 18.14.1
削除
$ nvm uninstall 18.14.1