This entry is very new in the tldr-pages project, hence translation data is currently unavailable for a while.


nvm

安裝、解除安裝,或切換不同 Node.js 版本。 支援版本號如「12.8」或「v16.13.1」,以及像是「stable」、「system」等標籤。 更多資訊:https://github.com/coreybutler/nvm-windows.

  • 安裝特定版本的 Node.js:

nvm install node 版本

  • 設定系統預設使用的 Node.js 版本(必須以系統管理員身分執行):

nvm use node 版本

  • 列出所有已安裝的 Node.js 版本,並標註當前系統使用的版本:

nvm list

  • 解除安裝指定的 Node.js 版本:

nvm uninstall node 版本