nvm-desktop
is a desktop application to manage multiple active node.js versions. With this applications, you can quickly install and use different versions of node.
This project was inspired by nvm


You can download the source code and build it yourself, or download the built version from following links:
The automatic update function of the application is currently only supported on the Windows platform. If you are a macOS user please always check the latest version for the best experience.
- Make sure your computer has Node.js installed
- Change to the folder ./, run
npm install
oryarn install
to install dependented libraries
There are two ways to start the development server:
- run
npm run start
oryarn start
F5
one-button start (debug mode)
- It is recommended to use electron-builder for packaging
- Go to the ./ folder
- Run
npm run package
oryarn run package
, if everything goes well, the packaged files will be in the ./release/build folder.
Please check
.yarnrc
file for the correct mirror address of the installation dependencies
- First you should build the binary startup files for testing via
npm run package:test
oryarn package:test
- Then run
npm run test
oryarn test
to start automated testing
Automated testing framework: WebdriverIO
About the Electron Testing can view documents: wdio-electron-service
- Support English & Simplified Chinese
- Support for custom download mirrors (default is https://nodejs.org/dist)
- Support automatic update on Windows.
- Complete automated testing.
After installing and starting the application, an environment variable named NVMD
will be added to your computer system, default value is empty
. And it has been added to the environment variable PATH
.
Set by: setx -m NVMD empty
.
After you install and apply the specified version of node, the value of the environment variable NVMD
is set to the installation path of the node version.
Set by: setx -m NVMD nodePath
.
Don't forget to restart your terminal.
If you encounter problems during use, please check whether the environment variables in the operating system are valid. Of course, your issue is also very welcome.
Because there is no Apple developer account, automatic updates cannot be used on the MacOS platform. Please always check the latest version for the best experience.
"File/App is damaged and cannot be opened. You should move it to Trash."
Fix 'File/App is damaged and cannot be opened' on Mac
It is a Mac error that can occur to various macOS versions, such as macOS Ventura/Monterey/Big Sur/Catalina, especially on M1 Macs. It usually happens on apps or files downloaded from the web, but it can also arise when opening apps downloaded from App Store.
To fix "File/App is damaged and can't be opened" on Ventura or other macOS versions, you need to decide whether you want to keep the offending file or app.
If you are experiencing "App is damaged and cannot be opened" on macOS Ventura, do the following steps to fix it:
- Open the Apple menu > System Settings.
- Select Privacy & Security > Developer Tools.
- Click the ( + ) button and navigate to the folder where the damaged app resides.
- Select the app and click Open.
If you are encountering "Application is damaged and cannot be opened" on Big Sur/Monterey/Catalina when opening an app, try these steps:
- Open the Apple menu > System Preferences.
- Select Security & Privacy.
- Tap the yellow lock and enter your password to unlock the preference pane.
- Click "Open Anyway."
Since the "App/File is damaged and cannot be opened" error is sent by Mac's security measures, you can temporarily turn off Gatekeeper to fix it. But it's recommended to re-enable it after using the software to protect your Mac.
Here's how to open damaged apps on Mac:
- Launch Terminal from the Applications folder.
- Copy and paste the following command into Terminal and hit Enter.
sudo spctl –master-disable
- Enter your admin password and hit Enter. (The password won't appear on the screen.)
- Check the status of Gatekeeper by typing in the following command and pressing Enter.
spctl --status
- Open the damaged app.
If you want to enable Gatekeeper again, you can repeat the above process but replace the command in step 2 with sudo spctl –master-enable
.
Another way to fix "App/File is damaged and cannot be opened" on M1 or Intel Mac is to remove the quarantine attributes signed to the file or app you are having issue opening.
- Open Terminal from the Applications folder.
- Type in the following command and hit Enter.
xattr -d com.apple.quarantine file_path
To execute this command, first copy and paste xattr -d com.apple.quarantine
to Terminal, then drag and drop the file or app to Terminal and hit Enter.