最終更新:2025-10-17 (金) 17:44:21 (212d)
NVM for Windows
Top / NVM for Windows
The Microsoft/npm/Google recommended Node.js version manager for Windows.
https://github.com/coreybutler/nvm-windows
This is not the same thing as nvm!
- The original nvm is a completely separate project for Mac/Linux only. This project uses an entirely different philosophy and is not just a clone of nvm.
バージョン
コマンド
nvm list
- nvm list available?
nvm install
- nvm install latest?
- nvm install lts
nvm use
- nvm use newest?
- latest
- lts
- newest: latest installed version
nvm uninstall?
nvm on
- パスの書き換え
nvm off?
- システム標準の Node.js(C:\Program Files\nodejs)に戻す
インストール
- Uninstall any pre-existing Node installations!!
シンボリックリンク
- C:\Program Files\nodejs
インストール先
- %APPDATA%\nvm
更新
- 新しいインストーラを実行
メモ
Windows
https://learn.microsoft.com/ja-jp/windows/dev-environment/javascript/nodejs-on-windows
- nvm install latest?
- nvm list available?
- nvm list
- nvm use <version>
ARM64
https://github.com/coreybutler/nvm-windows/pull/1070
- nvm arch?
System Default: 64-bit. Currently Configured: -bit.
- nvm arch arm64?
https://github.com/coreybutler/nvm-windows/issues/502#issuecomment-2571661298
- 1.2.xでは
- nvm install [version] arm64
- nvm use [version] arm64
使い方
Running version 1.2.2. Usage: nvm arch : Show if node is running in 32 or 64 bit mode. nvm current : Display active version. nvm debug : Check the NVM4W process for known problems (troubleshooter). nvm install <version> [arch] : The version can be a specific version, "latest" for the latest current version, or "lts" for the most recent LTS version. Optionally specify whether to install the 32 or 64 bit version (defaults to system arch). Set [arch] to "all" to install 32 AND 64 bit versions. Add --insecure to the end of this command to bypass SSL validation of the remote download server. nvm list [available] : List the node.js installations. Type "available" at the end to see what can be installed. Aliased as ls. nvm on : Enable node.js version management. nvm off : Disable node.js version management. nvm proxy [url] : Set a proxy to use for downloads. Leave [url] blank to see the current proxy. Set [url] to "none" to remove the proxy. nvm node_mirror [url] : Set the node mirror. Defaults to https://nodejs.org/dist/. Leave [url] blank to use default url. nvm npm_mirror [url] : Set the npm mirror. Defaults to https://github.com/npm/cli/archive/. Leave [url] blank to default url. nvm uninstall <version> : The version must be a specific version. nvm upgrade : Update nvm to the latest version. Manual rollback available for 7 days after upgrade. nvm use [version] [arch] : Switch to use the specified version. Optionally use "latest", "lts", or "newest". "newest" is the latest installed version. Optionally specify 32/64bit architecture. nvm use <arch> will continue using the selected version, but switch to 32/64 bit mode. nvm reinstall <version> : A shortcut method to clean and reinstall a specific version. nvm root [path] : Set the directory where nvm should store different versions of node.js. If <path> is not set, the current root will be displayed. nvm subscribe [--]<topic> : Subscribe to desktop notifications. Valid topics: lts, current, nvm4w, author nvm unsubscribe [--]<topic> : Unsubscribe from desktop notifications. Valid topics: lts, current, nvm4w, author nvm [--]version : Displays the current running version of nvm for Windows. Aliased as v.

