mirror of
https://github.com/nodejs/node.git
synced 2025-05-14 08:30:29 +00:00

PR-URL: https://github.com/nodejs/node/pull/35908 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
33 lines
807 B
Markdown
33 lines
807 B
Markdown
---
|
|
title: npm-install-test
|
|
section: 1
|
|
description: Install package(s) and run tests
|
|
---
|
|
|
|
### Synopsis
|
|
|
|
```bash
|
|
npm install-test (with no args, in package dir)
|
|
npm install-test [<@scope>/]<name>
|
|
npm install-test [<@scope>/]<name>@<tag>
|
|
npm install-test [<@scope>/]<name>@<version>
|
|
npm install-test [<@scope>/]<name>@<version range>
|
|
npm install-test <tarball file>
|
|
npm install-test <tarball url>
|
|
npm install-test <folder>
|
|
|
|
alias: npm it
|
|
common options: [--save|--save-dev|--save-optional] [--save-exact] [--dry-run]
|
|
```
|
|
|
|
### Description
|
|
|
|
This command runs an `npm install` followed immediately by an `npm test`. It
|
|
takes exactly the same arguments as `npm install`.
|
|
|
|
### See Also
|
|
|
|
* [npm install](/commands/npm-install)
|
|
* [npm install-ci-test](/commands/npm-install-ci-test)
|
|
* [npm test](/commands/npm-test)
|