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

activate.md « doc - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf964a8a42c72604f52e414ccee8914e93e1f8ca (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
npm activate(1) -- Activate an installed version of a package
=============================================================

## SYNOPSIS

    npm activate <name>@<version> [<name>@<version> ...]

## DESCRIPTION

This "activates" a specific version of a package, so that you can just do
`require("foo")` without having to specify the version.

## CONFIGURATION

### auto-activate

Default: true

Automatically activate a package after installation, if there is not an active
version already.  Set to "always" to always activate when installing.

## SEE ALSO

npm-deactivate(1)