Try nvm alias default
. For example:
$ nvm alias default 0.12.7
This sets the default node version in your shell. Then verify that the change persists by closing the shell window, opening a new one, then:
node --version
More Related Contents:
- What is the recommended way to install Node.js, nvm and npm on MacOS X?
- node 5.5.0 already installed but node -v fetches with “v4.2.1” on OS X & homebrew?
- Bower: “command not found” after installation
- How to properly upgrade node using nvm
- Can’t uninstall global npm packages after installing nvm
- Error: The ‘brew link’ step did not complete successfully
- nvm is not compatible with the npm config “prefix” option:
- npm doesn’t work, get always this error -> Error: Cannot find module ‘are-we-there-yet’
- Permission denied when installing npm modules in OSX
- Find the version of an installed npm package
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- How to npm install to a specified directory?
- can you host a private repository for your organization to use with npm?
- Fixing npm path in Windows 8 and 10
- receiving error: ‘Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN’ while using npm
- NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
- How do you prevent install of “devDependencies” NPM modules for Node.js (package.json)?
- Visual Studio Code to use node version specified by NVM
- Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation
- How to Delete node_modules – Deep Nested Folder in Windows
- How to install npm -g on offline server
- Error: Redis connection to 127.0.0.1:6379 failed – connect ECONNREFUSED 127.0.0.1:6379
- Global Node modules not installing correctly. Command not found
- npm install hangs
- Error “npm WARN package.json: No repository field”
- What is the difference between res.send and res.write in express?
- How to install nvm in docker?
- Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
- Cannot uninstall angular-cli