• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2section: cli-commands
3title: npm-install-test
4description: Install package(s) and run tests
5---
6
7# npm install-test(1)
8
9## Install package(s) and run tests
10
11### Synopsis
12
13```bash
14npm install-test (with no args, in package dir)
15npm install-test [<@scope>/]<name>
16npm install-test [<@scope>/]<name>@<tag>
17npm install-test [<@scope>/]<name>@<version>
18npm install-test [<@scope>/]<name>@<version range>
19npm install-test <tarball file>
20npm install-test <tarball url>
21npm install-test <folder>
22
23alias: npm it
24common options: [--save|--save-dev|--save-optional] [--save-exact] [--dry-run]
25```
26
27### Description
28
29This command runs an `npm install` followed immediately by an `npm test`. It
30takes exactly the same arguments as `npm install`.
31
32### See Also
33
34* [npm install](/cli-commands/npm-install)
35* [npm test](/cli-commands/npm-test)
36