Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

:shipit: a npm version manager

License

NotificationsYou must be signed in to change notification settings

watilde/npmbrew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusNPM Downloads

Why npmbrew?

npm is flooded withissue 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 sourceshelp                 Output help informationinstall <version>    Install the version passedls                   List versions currently installedls-remote            List registry versionsnpm                  An alias of npm <command>uninstall <version>  Delete the install for <version>use <version>        Use <version>

Example

Install

npmbrew install v2.6.0installed

Switch version withuse:

npmbrew use v2.6.0Using v2.6.0

Use npm

npmbrew npm helpUsage: npm <command> blah blah...

Addnpmbrew npm to PATH

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

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

Reload config.

source ~/.zshrc

Test.

npm helpUsage: npm <command> blah blah...

One more thing

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

npm whoamiwatilde┌──────────────────────────────────────────┐│ 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.

About

:shipit: a npm version manager

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp