Created
March 20, 2012 00:37
-
-
Save MichaelMartinez/2129086 to your computer and use it in GitHub Desktop.
NPM init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm init creates a package json for you | |
npm install --save adds that module + version to the package.json | |
first init, then install --save | |
if you want to use the one that youv'e already installed globally, and you are not on windows, you can do `npm link modulename` | |
`npm ls --global` | |
any npm command can be done in global mode with -g|--global | |
can you remove the link if you no longer want it? | |
yeah. npm rm modulename | |
just like uninstalling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment