Installs pnpm
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.editorconfig
.gitattributes
.gitignore feat: install by spec Jan 8, 2018
.npmrc feat: init Jan 1, 2018
.travis.yml ci(travis): don't test on Node.js 9 May 14, 2018
LICENSE
README.md
package.json
shrinkwrap.yaml

README.md

@pnpm/self-installer

Installs pnpm

npm version Build Status

Usage

Use unpkg to access the installation script and set up pnpm:

curl -L https://unpkg.com/@pnpm/self-installer | node

Configuring

The above script will install the latest version of pnpm but you may also install a specific version by specifying the PNPM_VERSION environment variable:

curl -L https://unpkg.com/@pnpm/self-installer | PNPM_VERSION=1.16.2 node

Here are all the supported environment variables that can influence pnpm's installation:

Env variable Type Description Example
PNPM_VERSION version, range, tag latest by default. The pnpm version to be installed.
(not older than pnpm@1.16.2)
PNPM_VERSION=next
PNPM_DEST Path The directory into which pnpm's files will be downloaded. PNPM_DEST=node_modules/pnpm
PNPM_BIN_DEST Path process.execPath by default. The directory into which pnpm's bins will be linked. PNPM_BIN_DEST=node_modules/.bin
PNPM_REGISTRY URL https://registry.npmjs.org/ by default. The registry to be used for downloading pnpm. PNPM_REGISTRY=https://registry.node-modules.io/

License

MIT © Zoltan Kochan