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