Code Monkey home page Code Monkey logo

npm's Introduction

npm

This is just enough info to get you up and running.

More info available via man npm.

Simple Install

To install npm, do this:

curl http://npmjs.org/install.sh | sh

If it dies with a "Permission Denied" or EACCESS error, then that probably means that you are running node in a shared root-owned location. In that case, you'll have to use sudo.

curl http://npmjs.org/install.sh | sudo sh

More Fancy Installing

First, get the code. Maybe use git for this. That'd be cool. Very fancy.

The default make target is install-stable, which downloads the current stable version of npm, and installs that for you.

If you want to install the exact code that you're looking at, the bleeding-edge master branch, do this:

make install

If you'd prefer to just symlink in the current code so you can hack on it, you can do this:

make link

If you check out the Makefile, you'll see that these are just running npm commands at the cli.js script directly. You can also use npm without ever installing it by using ./cli.js instead of "npm".

Uninstalling

So sad to see you go.

	npm uninstall npm

Or, if that fails,

	make uninstall

More Docs

Check out the docs.

You can use the npm help command to read any of them.

If you're a developer, and you want to use npm to publish your program, you should read this

npm's People

Contributors

isaacs avatar mikeal avatar ssteinerx avatar aaronblohowiak avatar toastdriven avatar martynsmith avatar indexzero avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.