Amazon Linux 2023 へ Node.js をインストールする
node.js をインストールします
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install stable --latest-npmインストールされたバージョンの確認
$ node -v
v21.4.0
$ npm -v
10.2.4apiless
node.js をインストールします
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install stable --latest-npmインストールされたバージョンの確認
$ node -v
v21.4.0
$ npm -v
10.2.4