Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>npm is the official package manager for <a href="/questions/tagged/node.js" class="post-tag" title="show questions tagged &#39;node.js&#39;" rel="tag">node.js</a>, the non-blocking, asynchronous I/O framework that uses Google's V8 <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged &#39;javascript&#39;" rel="tag">javascript</a> engine. </p> <p>npm can be used to install and publish <a href="/questions/tagged/commonjs" class="post-tag" title="show questions tagged &#39;commonjs&#39;" rel="tag">commonjs</a> modules and JavaScript-based CLI programs. It manages dependencies using the <a href="/questions/tagged/couchdb" class="post-tag" title="show questions tagged &#39;couchdb&#39;" rel="tag">couchdb</a> <a href="/questions/tagged/nosql" class="post-tag" title="show questions tagged &#39;nosql&#39;" rel="tag">nosql</a> database management system hosted by Couchbase. See: <a href="https://nodejs.org/" rel="nofollow noreferrer">https://nodejs.org/</a> and <a href="https://www.npmjs.com/" rel="nofollow noreferrer">https://www.npmjs.com/</a></p> <p>npm has the ability to install packages to a local directory or globally with the <code>-g</code> flag. Global packages are generally CLI programs.</p> <p>npm packages manage dependencies and pass information to npm through the <code>package.json</code> file. It contains entries for package name, version, git, dependencies, and other information. The official documentation can be found <a href="https://docs.npmjs.com/files/package.json" rel="nofollow noreferrer">here</a>.</p> <p>npm uses the semantic version system. This system promote three version stages as well as suffixes. For example, <code>v1.2.3-alpha</code>. npm supports modifiers such as asterisks and greater/less than signs when specifying dependencies. More information can be found <a href="https://docs.npmjs.com/misc/semver" rel="nofollow noreferrer">here</a> and <a href="https://semver.org/" rel="nofollow noreferrer">here</a>.</p> <p>As of April 14, 2015 npm also supports private modules that can be defined and used only by users who you specify. More about private modules <a href="http://blog.npmjs.org/post/116391174580/npm-weekly-12" rel="nofollow noreferrer">here</a>.</p> <p>npm comes bundled together with install of NodeJS, so there is no need for a separate install.</p> <h3>To search for modules:</h3> <ul> <li><a href="https://www.npmjs.com/" rel="nofollow noreferrer">https://www.npmjs.com/</a></li> <li><a href="https://github.com/joyent/node/wiki/modules" rel="nofollow noreferrer">https://github.com/joyent/node/wiki/modules</a> (DEPRECATED)</li> <li><a href="https://eirikb.github.io/nipster/" rel="nofollow noreferrer">https://eirikb.github.io/nipster/</a></li> </ul> <h3>Documentation Links:</h3> <ul> <li><a href="https://docs.npmjs.com/misc/faq" rel="nofollow noreferrer">FAQ</a></li> <li><a href="https://docs.npmjs.com/files/folders" rel="nofollow noreferrer">Folders</a></li> <li><a href="https://docs.npmjs.com/cli/npm" rel="nofollow noreferrer">npm command</a></li> <li><a href="https://docs.npmjs.com/how-npm-works/packages" rel="nofollow noreferrer">How npm works</a></li> </ul> <h3>Useful links:</h3> <ul> <li><a href="https://github.com/npm/npm" rel="nofollow noreferrer">Official GitHub Account</a></li> <li><a href="https://en.wikipedia.org/wiki/Npm_(software)" rel="nofollow noreferrer">Wikipedia Page</a></li> <li><a href="https://gist.github.com/isaacs/579814" rel="nofollow noreferrer">Installation Without Sudo</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload