Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/self-installer

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/self-installer

Installs pnpm

  • 2.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
increased by20.97%
Maintainers
3
Weekly downloads
 
Created
Source

@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 variableTypeDescriptionExample
PNPM_VERSIONversion, range, taglatest by default. The pnpm version to be installed.
(not older than pnpm@1.16.2)
PNPM_VERSION=next
PNPM_DESTPathThe directory into which pnpm's files will be downloaded.PNPM_DEST=node_modules/pnpm
PNPM_BIN_DESTPathprocess.execPath by default. The directory into which pnpm's bins will be linked.PNPM_BIN_DEST=node_modules/.bin
PNPM_REGISTRYURLhttps://registry.npmjs.org/ by default. The registry to be used for downloading pnpm.PNPM_REGISTRY=https://registry.node-modules.io/

License

MIT © Zoltan Kochan

FAQs

Package last updated on 23 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc