Install npm modules

Note

Support for npm packages is available with Package Management in VSTS and TFS 2017 Update 1 and newer.

Install npm packages from your feed, and also from npmjs.com if you've configured upstream sources, using the npm client.

  1. Set up the npm client with your feed.
  2. Open a shell and navigate to the directory that contains your project's package.json.
  3. Install a package by running npm install --save <package>.

See the npm CLI docs for more install options.