Skip to content
meeChnPublic
forked from nodists/nodist

About

Natural node version management for windows.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodist

A Node version manager for the windows folks out there.

Install

Install node and npm at once, using the msi installer.

Install nodist globally. That's all!

npm install -g nodist

Usage

A node version manager for windows

Usage:

    nodist                         List all installed node versions.
    nodist list
    nodist ls

    nodist <version>               Use the specified node version globally (downloads the executable, if necessary).
    nodist latest                  Use the latest available node version globally (downloads the executable, if necessary).

    nodist add <version>           Download the specified node version.
    nodist + <version>

    nodist run <version> -- <file> Run <file> with the specified node version (downloads the executable, if necessary).
    nodist r <version> -- <file>

    nodist rm <version>            Uninstall the specified node version.
    nodist - <version>

    nodist --help                  Display this help

    nodist -v                      Display nodist version

Examples:

    nodist 0.8.1                   Use node v0.8.1 globally
    nodist v0.5.10                 Use node v0.5.10 globally
    nodist r 0.8.1 -- foo.js -s    Run `foo.js -s` with node v0.8.1, regardless of the global version
    nodist - 0.5.10                Uninstall node v0.5.10

Details

nodist by default stores node executables in <NPM_PREFIX>\node_modules\nodist\v\, from where it can see what you have currently installed, and activate previously installed versions of node when nodist <version> is invoked again.

When a node is activated, nodist copies the version to path\to\global-npm\node.exe. This path may be altered using the NODIST_PREFIX env variable.

As the global node version will be subject to change, nodist comes with its own node version and command line files.

What's with the name?

The name nodist was chosen to emphasise the puristic approach of implementing a node version manager and is not to be confused with the term 'nudist'. It was never my intention to make a connection between these two subjects by giving this program a similar name. How, dare you!?

Legal

Copyright (c) 2012 by Marcel Klehr
MIT License

About

Natural node version management for windows.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors