npmbrew

1.5.3 • Public • Published

npmbrew -- a npm version manager

Build Status NPM Downloads

Why npmbrew?

npm is flooded with issue reports on a daily basis. Sometimes I spent just too much time juggling around different npm versions trying to reproduce the error.

I created npmbrew to make it easy to switch versions. See also: #14

Install

Using npm.

npm install -g npmbrew

Usage

Usage: npmbrew <command>

Commands:
clean                Delete all installed sources
help                 Output help information
install <version>    Install the version passed
ls                   List versions currently installed
ls-remote            List registry versions
npm                  An alias of npm <command>
uninstall <version>  Delete the install for <version>
use <version>        Use <version>

Example

Install

npmbrew install v2.6.0
installed

Switch version with use:

npmbrew use v2.6.0
Using v2.6.0

Use npm

npmbrew npm help
Usage: npm <command> blah blah...

Add npmbrew npm to PATH

Add the following line to the end of your .bashrc or .zshrc.

# npmbrew
export PATH=$HOME/.npmbrew/current/bin:$PATH

Reload config.

source ~/.zshrc

Test.

npm help
Usage: npm <command> blah blah...

One more thing

npmbrew uses update-notifier, to let users know when there is a new version available for download.

npm whoami
watilde


┌──────────────────────────────────────────┐
│ Update available: 2.7.0 (current: 2.6.0) │
│ Run npmbrew install 2.7.0 to update.     │
└──────────────────────────────────────────┘


LICENSE

The MIT License (MIT)

Copyright (c) 2015 Daijiro Wachi

See also: LICENSE.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.31latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.31
1.5.20
1.5.11
1.5.00
1.4.80
1.4.70
1.4.61
1.4.50
1.4.40
1.4.30
1.4.20
1.4.11
1.4.00
1.3.30
1.3.20
1.3.11
1.3.00
1.2.10
1.2.00
1.1.20
1.1.11
1.1.00
1.0.40
1.0.30
1.0.20
1.0.10
1.0.01
0.4.81
0.4.70
0.4.60
0.4.50
0.4.40
0.4.30
0.4.20
0.4.10
0.4.01
0.3.30
0.3.20
0.3.10
0.3.01
0.2.30
0.2.21
0.2.10
0.2.00
0.1.02
0.0.10

Package Sidebar

Install

npm i npmbrew

Weekly Downloads

13

Version

1.5.3

License

MIT

Last publish

Collaborators

  • watilde