Comments (1)
It's not hard to do, it's just not as clean and easy as the default behavior. I do this all the time to test different versions of v8 with the same node.
If you want the exact same node binary, simply clone the folder to a new name and it will show up in the list. You may need to restrict the characters used so it still matches in the regexp's.
For example, to have a clone of the latest stable node, do the following in your nvm folder (assuming you've already installed v0.4.11)
cd /home/tim/Code/nvm
rsync -av v0.4.11/ v0.4.11b/
nvm use v0.4.11b
curl http://npmjs.org/install.sh | sh
If you want a slightly different node binary, then go into the source folder and reconfigure with a new prefix. Then make
and make install
(no sudo)
cd /home/tim/Code/nvm/src/node-v0.4.11
# make changes to source
./configure --prefix=/home/tim/Code/nvm/v0.4.11c
make
make install
nvm use v0.4.11c
curl http://npmjs.org/install.sh | sh
Since this is a less used feature and it's not that hard to do by hand, I'd rather not bloat the project with it built-in.
from nvm.
Related Issues (20)
- Add CLI option to set where to get the node version from, other than `/.nvmrc` HOT 19
- Add `nvm rm` as an alias for `nvm uninstall` HOT 4
- Can this be used to create/download npm as a standalone executable? HOT 8
- A research for generating PR checklists in Pull Request Template HOT 2
- No `builtin` before builtin functions can break NVM when those functions are overwriten HOT 2
- npm ERR! help process exited with code: ENOENT
- Feature Request: Make nvm use configs from package.json files HOT 1
- Is it possible to copy/install existing library modules? HOT 3
- corepack installed package managers hangs forever HOT 1
- I Cant Install the NVM HOT 11
- nvm v0.39.6 regression on command hash HOT 9
- Putty SSH Connection broken after install. "Server refused our key" HOT 4
- [spam]
- [ls-remote] only list active and/or maintained versions HOT 16
- Update the nvm itself HOT 1
- --remove
- AUR packages nvm and nvm-git are not installing nvm HOT 1
- An error occurs when attempting to get installed list using the tab key in omz HOT 4
- Feature Request: nvm binary HOT 3
- Add the install script to the release assets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm.