reggi/cache-based-on-version
@reggi/path-to-regexp
dependabot/npm_and_yarn/main/copy-to-clipboard-4.0.2
dependabot/npm_and_yarn/main/eslint-10.4.0
dependabot/npm_and_yarn/main/npmcli/eslint-config-7.0.0
dependabot/npm_and_yarn/main/proc-log-7.0.0
dependabot/npm_and_yarn/npm_and_yarn-826852524d
dependabot/npm_and_yarn/npm_and_yarn-ab9a7f4bc2
deprecate-totp-2fa
dhei/classic-tokens
gat-bypass-2fa-docs
jpg619/fix-accessibility-content-flow
jpg619/version-bump-tar-2
kartykp/gat-bypass-2fa-docs
kartykp/upgrade-path-to-regex
main
maitxn/version-bump-tar
patch-1
reggi/cache-based-on-version
reggi/dev-engines
reggi/fix-transform-prettier
reggi/overrides
update-search-sensitivity
| 1 | --- |
| 2 | title: npm-install-test |
| 3 | section: 1 |
| 4 | description: Install package(s) and run tests |
| 5 | github_repo: npm/cli |
| 6 | github_branch: release/v6 |
| 7 | github_path: docs/content/commands/npm-install-test.md |
| 8 | redirect_from: |
| 9 | - /cli-documentation/v6/cli-commands/install-test |
| 10 | - /cli-documentation/v6/cli-commands/npm-install-test |
| 11 | - /cli-documentation/v6/commands/install-test |
| 12 | - /cli-documentation/v6/commands/npm-install-test |
| 13 | - /cli-documentation/v6/install-test |
| 14 | - /cli-documentation/v6/npm-install-test |
| 15 | - /cli/v6/cli-commands/install-test |
| 16 | - /cli/v6/cli-commands/npm-install-test |
| 17 | - /cli/v6/commands/install-test |
| 18 | - /cli/v6/install-test |
| 19 | - /cli/v6/npm-install-test |
| 20 | --- |
| 21 | |
| 22 | ### Synopsis |
| 23 | |
| 24 | ```bash |
| 25 | npm install-test (with no args, in package dir) |
| 26 | npm install-test [<@scope>/]<name> |
| 27 | npm install-test [<@scope>/]<name>@<tag> |
| 28 | npm install-test [<@scope>/]<name>@<version> |
| 29 | npm install-test [<@scope>/]<name>@<version range> |
| 30 | npm install-test <tarball file> |
| 31 | npm install-test <tarball url> |
| 32 | npm install-test <folder> |
| 33 | |
| 34 | alias: npm it |
| 35 | common options: [--save|--save-dev|--save-optional] [--save-exact] [--dry-run] |
| 36 | ``` |
| 37 | |
| 38 | ### Description |
| 39 | |
| 40 | This command runs an `npm install` followed immediately by an `npm test`. It takes exactly the same arguments as `npm install`. |
| 41 | |
| 42 | ### See Also |
| 43 | |
| 44 | - [npm install](/cli/v6/commands/npm-install) |
| 45 | - [npm test](/cli/v6/commands/npm-test) |