New npm documentation site

Along with the release of version 7 of the npm CLI, we have updated the npm documentation site to add the documentation for the new release. In addition, we've made a number of user experience improvements to help you find what you're looking for.

  • Improved navigation: each page has site navigation on the left, and navigation of topics within the page on the right.
  • Search: the documentation contents are indexed and searchable at the top of each page.
  • Responsive design: when visiting the documentation site in a mobile device, these navigation elements move into menus.
  • Multiple versions of CLI documentation: documentation is available for both npm CLI v6 and v7; you can choose the version with the version picker dropdown on a CLI documentation page.

Screen shot of docs.npmjs.com in a graphical web browser

To give us feedback, please visit our feedback repository

To see what's next for npm, visit our public roadmap