Giter Site home page Giter Site logo

Comments (1)

creationix avatar creationix commented on May 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.