Have ideas to improve npm?Join in the discussion! »

    cipm

    2.0.1 • Public • Published

    npm license Travis AppVeyor Coverage Status

    cipm(1) -- install npm dependencies from a package lock

    SYNOPSIS

    cipm [--userconfig <path>] [--ignore-scripts] [--offline] [--loglevel <level>]

    INSTALL

    npm install [-g|-D] cipm

    DESCRIPTION

    When invoked inside an npm project with a package.json and package-lock.json (or an npm-shrinkwrap.json), it will install the specified dependencies and run their install scripts.

    The main difference between this and npm install is that cipm is both a small, standalone program, and that it can bypass a lot of the heavier machinery in npm oriented towards interacting with invalid states: cipm completely removes node_modules before beginning the install, if it exists.

    cipm also requires that the current project have an existing lockfile, which must first be generated using npm install in npm@5 or later versions (or any other package manager supporting lockfileVersion@>=1).

    This tool is ideal for using in CI environments that require regular, full installs of an application, but that are usually able to cache package data in a central cache.

    EXAMPLES

    AUTHOR

    Written by Kat Marchan.

    REPORTING BUGS

    Please file any relevant issues on Github.

    LICENSE

    This work is released under the conditions of the MIT license. See LICENSE.md for more details.

    SEE ALSO

    • npm-install(1)
    • npm-package-locks(5)
    • package-lock.json(5)

    Install

    npm i cipm

    DownloadsWeekly Downloads

    29

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    5.24 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar