--- 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>/] npm install-test [<@scope>/]@ npm install-test [<@scope>/]@ npm install-test [<@scope>/]@ npm install-test npm install-test npm install-test 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)