Skip to content

nodenv plugin to install a root npmrc for each node version

License

Notifications You must be signed in to change notification settings

deiga/nodenv-default-npmrc

Repository files navigation

nodenv-default-npmrc

Build Status

This nodenv plugin hooks into the nodenv install command to automatically install a npmrc file every time you install a new version of Node. It requires the node-build plugin to be installed.

Forked from the excellent nodenv-default-packages plugin from sstephenson.

Installation

Installing as a nodenv plugin

Make sure you have the latest nodenv and node-build versions, then run:

git clone https://github.com/deiga/nodenv-default-npmrc.git $(nodenv root)/plugins/nodenv-default-npmrc

Installing with Homebrew (for OS X users)

Mac OS X users can install nodenv-default-npmrc with the Homebrew package manager.

This is the recommended method of installation if you installed nodenv with Homebrew.

$ brew install nodenv/deiga/nodenv-default-npmrc

Or, if you would like to install the latest development release:

$ brew install --HEAD nodenv/deiga/nodenv-default-npmrc

Usage

nodenv-default-npmrc automatically installs the $(nodenv root)/default-npmrc file to ${PREFIX}/etc/npmrc every time you successfully install a new version of Node with nodenv install.

Credits

Forked from Sam Stephenson's nodenv-default-packages by Timo Sand.

About

nodenv plugin to install a root npmrc for each node version

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages