Welcome to mirror list, hosted at ThFree Co, Russian Federation.

deploy.md « future-ideas « doc - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d2e17aa62f9037b7858e23459b277608c1632c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
npm-deploy(1) -- Deploy a package to a remote host
==================================================

## FUTURE

This functionality does not yet exist.

## SUMMARY

    npm deploy <pkg> [--host <hostname>]

## DESCRIPTION

This is a porcelain command.  It is equivalent to doing:

    npm publish --registry $(npm config get host) <pkg>
    npm remote install <pkg-name>@<pkg-version>

That is, it first publishes the package to the server specified
by the `host` config, and then remotely installs that package
on the host.

## SEE ALSO

* npm-remote(1)
* npm-site(1)
* npm-publish(1)