npmをアップデートする
https://www.npmjs.com/
のDocumentationの下方にありました。
The current stable version of npm is here. To upgrade, run: npm install npm@latest -g
npm install npm@latest -g
バージョンを確認する
下記のコマンドでnpmのバージョンが表示されます
npm -v
[version]
https://www.npmjs.com/
のDocumentationの下方にありました。
The current stable version of npm is here. To upgrade, run: npm install npm@latest -g
npm install npm@latest -g
下記のコマンドでnpmのバージョンが表示されます
npm -v
[version]