Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
npm /
commands /
Delete
Unzip
Name
Size
Permission
Date
Action
npm-access.md
2.56
KB
-rw-r--r--
2022-12-07 23:13
npm-adduser.md
832
B
-rw-r--r--
2022-12-07 23:13
npm-audit.md.gz
3.33
KB
-rw-r--r--
2022-12-07 23:13
npm-bugs.md
840
B
-rw-r--r--
2022-12-07 23:13
npm-cache.md
2.73
KB
-rw-r--r--
2022-12-07 23:13
npm-ci.md
2.07
KB
-rw-r--r--
2022-12-07 23:13
npm-completion.md
924
B
-rw-r--r--
2022-12-07 23:13
npm-config.md
2.13
KB
-rw-r--r--
2022-12-07 23:13
npm-dedupe.md
2.13
KB
-rw-r--r--
2022-12-07 23:13
npm-deprecate.md
1.31
KB
-rw-r--r--
2022-12-07 23:13
npm-diff.md.gz
1.98
KB
-rw-r--r--
2022-12-07 23:13
npm-dist-tag.md
3.2
KB
-rw-r--r--
2022-12-07 23:13
npm-docs.md
820
B
-rw-r--r--
2022-12-07 23:13
npm-doctor.md.gz
2.16
KB
-rw-r--r--
2022-12-07 23:13
npm-edit.md
922
B
-rw-r--r--
2022-12-07 23:13
npm-exec.md.gz
3.3
KB
-rw-r--r--
2022-12-07 23:13
npm-explain.md
1.81
KB
-rw-r--r--
2022-12-07 23:13
npm-explore.md
880
B
-rw-r--r--
2022-12-07 23:13
npm-find-dupes.md
511
B
-rw-r--r--
2022-12-07 23:13
npm-fund.md
1.93
KB
-rw-r--r--
2022-12-07 23:13
npm-help-search.md
693
B
-rw-r--r--
2022-12-07 23:13
npm-help.md
840
B
-rw-r--r--
2022-12-07 23:13
npm-hook.md
1.87
KB
-rw-r--r--
2022-12-07 23:13
npm-init.md.gz
1.92
KB
-rw-r--r--
2022-12-07 23:13
npm-install-ci-test.md
437
B
-rw-r--r--
2022-12-07 23:13
npm-install-test.md
497
B
-rw-r--r--
2022-12-07 23:13
npm-install.md.gz
4.73
KB
-rw-r--r--
2022-12-07 23:13
npm-link.md
3.95
KB
-rw-r--r--
2022-12-07 23:13
npm-login.md
1.15
KB
-rw-r--r--
2022-12-07 23:13
npm-logout.md
949
B
-rw-r--r--
2022-12-07 23:13
npm-ls.md
3.09
KB
-rw-r--r--
2022-12-07 23:13
npm-org.md
1.01
KB
-rw-r--r--
2022-12-07 23:13
npm-outdated.md
3.77
KB
-rw-r--r--
2022-12-07 23:13
npm-owner.md
1.25
KB
-rw-r--r--
2022-12-07 23:13
npm-pack.md
948
B
-rw-r--r--
2022-12-07 23:13
npm-ping.md
726
B
-rw-r--r--
2022-12-07 23:13
npm-pkg.md.gz
1.8
KB
-rw-r--r--
2022-12-07 23:13
npm-prefix.md
839
B
-rw-r--r--
2022-12-07 23:13
npm-profile.md
2.9
KB
-rw-r--r--
2022-12-07 23:13
npm-prune.md
1.32
KB
-rw-r--r--
2022-12-07 23:13
npm-publish.md
3.58
KB
-rw-r--r--
2022-12-07 23:13
npm-query.md
2.84
KB
-rw-r--r--
2022-12-07 23:13
npm-rebuild.md
764
B
-rw-r--r--
2022-12-07 23:13
npm-repo.md
613
B
-rw-r--r--
2022-12-07 23:13
npm-restart.md
920
B
-rw-r--r--
2022-12-07 23:13
npm-root.md
686
B
-rw-r--r--
2022-12-07 23:13
npm-run-script.md.gz
1.72
KB
-rw-r--r--
2022-12-07 23:13
npm-search.md
1.56
KB
-rw-r--r--
2022-12-07 23:13
npm-shrinkwrap.md
938
B
-rw-r--r--
2022-12-07 23:13
npm-star.md
1007
B
-rw-r--r--
2022-12-07 23:13
npm-stars.md
690
B
-rw-r--r--
2022-12-07 23:13
npm-start.md
1.09
KB
-rw-r--r--
2022-12-07 23:13
npm-stop.md
791
B
-rw-r--r--
2022-12-07 23:13
npm-team.md
2.96
KB
-rw-r--r--
2022-12-07 23:13
npm-test.md
667
B
-rw-r--r--
2022-12-07 23:13
npm-token.md
3.31
KB
-rw-r--r--
2022-12-07 23:13
npm-uninstall.md
1.64
KB
-rw-r--r--
2022-12-07 23:13
npm-unpublish.md
1.47
KB
-rw-r--r--
2022-12-07 23:13
npm-unstar.md
866
B
-rw-r--r--
2022-12-07 23:13
npm-update.md
3.86
KB
-rw-r--r--
2022-12-07 23:13
npm-version.md
3.64
KB
-rw-r--r--
2022-12-07 23:13
npm-view.md
3.3
KB
-rw-r--r--
2022-12-07 23:13
npm-whoami.md
755
B
-rw-r--r--
2022-12-07 23:13
npm.md.gz
2.36
KB
-rw-r--r--
2022-12-07 23:13
npx.md.gz
2.16
KB
-rw-r--r--
2022-12-07 23:13
Save
Rename
--- title: npm-ci section: 1 description: Clean install a project --- ### Synopsis <!-- AUTOGENERATED USAGE DESCRIPTIONS --> ### Description This command is similar to [`npm install`](/commands/npm-install), except it's meant to be used in automated environments such as test platforms, continuous integration, and deployment -- or any situation where you want to make sure you're doing a clean install of your dependencies. The main differences between using `npm install` and `npm ci` are: * The project **must** have an existing `package-lock.json` or `npm-shrinkwrap.json`. * If dependencies in the package lock do not match those in `package.json`, `npm ci` will exit with an error, instead of updating the package lock. * `npm ci` can only install entire projects at a time: individual dependencies cannot be added with this command. * If a `node_modules` is already present, it will be automatically removed before `npm ci` begins its install. * It will never write to `package.json` or any of the package-locks: installs are essentially frozen. NOTE: If you create your `package-lock.json` file by running `npm install` with flags that can affect the shape of your dependency tree, such as `--legacy-peer-deps` or `--install-links`, you _must_ provide the same flags to `npm ci` or you are likely to encounter errors. An easy way to do this is to run, for example, `npm config set legacy-peer-deps=true --location=project` and commit the `.npmrc` file to your repo. ### Example Make sure you have a package-lock and an up-to-date install: ```bash $ cd ./my/npm/project $ npm install added 154 packages in 10s $ ls | grep package-lock ``` Run `npm ci` in that project ```bash $ npm ci added 154 packages in 5s ``` Configure Travis CI to build using `npm ci` instead of `npm install`: ```bash # .travis.yml install: - npm ci # keep the npm cache around to speed up installs cache: directories: - "$HOME/.npm" ``` ### Configuration <!-- AUTOGENERATED CONFIG DESCRIPTIONS --> ### See Also * [npm install](/commands/npm-install) * [package-lock.json](/configuring-npm/package-lock-json)