1 ---
2 title: npm-install-ci-test
3 section: 1
4 description: Install a project with a clean slate and run tests
5 github_repo: npm/cli
6 github_branch: release/v7
7 github_path: docs/content/commands/npm-install-ci-test.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/install-ci-test
10 - /cli-documentation/v7/cli-commands/npm-install-ci-test
11 - /cli-documentation/v7/commands/install-ci-test
12 - /cli-documentation/v7/commands/npm-install-ci-test
13 - /cli-documentation/v7/install-ci-test
14 - /cli-documentation/v7/npm-install-ci-test
15 - /cli/v7/cli-commands/install-ci-test
16 - /cli/v7/cli-commands/npm-install-ci-test
17 - /cli/v7/commands/install-ci-test
18 - /cli/v7/install-ci-test
19 - /cli/v7/npm-install-ci-test
20 ---
21
22 ### Synopsis
23
24 ```bash
25 npm install-ci-test
26
27 alias: npm cit
28 ```
29
30 ### Description
31
32 This command runs `npm ci` followed immediately by `npm test`.
33
34 ### Configuration
35
36 #### `audit`
37
38 - Default: true
39 - Type: Boolean
40
41 When "true" submit audit reports alongside the current npm command to the default registry and all registries configured for scopes. See the documentation for [`npm audit`](/cli/v7/commands/npm-audit) for details on what is submitted.
42
43 #### `ignore-scripts`
44
45 - Default: false
46 - Type: Boolean
47
48 If true, npm does not run scripts specified in package.json files.
49
50 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
51
52 #### `script-shell`
53
54 - Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
55 - Type: null or String
56
57 The shell to use for scripts run with the `npm exec`, `npm run` and `npm init <pkg>` commands.
58
59 ### See Also
60
61 - [npm install-test](/cli/v7/commands/npm-install-test)
62 - [npm ci](/cli/v7/commands/npm-ci)
63 - [npm test](/cli/v7/commands/npm-test)