{"versions":{"0.0.0":{"name":"get-pnpm","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","_id":"get-pnpm@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"6.11.4","_npmUser":{"name":"anonymous","email":"z@kochan.io"},"dist":{"integrity":"sha512-yp8AQ5AFRkKIhgSUOUJgcqckDe+ChB7Y6hVaaOzwUKHOAvfppDWUD/A0Hk25XCLBBDModwgdtwXHUrywS5w5dg==","shasum":"9aa72b694bda9848b53a5c994615d48fca59b37d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.0.tgz","fileCount":1,"unpackedSize":256,"size":280},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-pnpm_0.0.0_1519483063255_0.44411515622060227"},"_cnpmcore_publish_time":"2021-12-23T11:10:13.449Z","contributors":[]},"0.0.1":{"name":"get-pnpm","version":"0.0.1","description":"Installs pnpm as a standalone executable","keywords":["pnpm","install","installer"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"},"homepage":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme","bugs":{"url":"https://github.com/pnpm/get.pnpm.io/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"bin":{"get-pnpm":"bin/get-pnpm.js"},"devDependencies":{"@types/node":"^24.10.1","typescript":"^5.9.3"},"engines":{"node":">=22.13"},"scripts":{"build":"tsc","test":"tsc && node --test test/*.test.ts"},"_id":"get-pnpm@0.0.1","dist":{"integrity":"sha512-Lv5nu6GAJSNdklS1pCo7VGLUvF1IUA0+vu9C79OSkDsrJDOXdTbr4Lf171FasskOGN1JX1hhWZIIz3NBn1UT1A==","shasum":"1f3ebde0c6cef868bdfda0fe5dece9d5643c2162","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.1.tgz","fileCount":17,"unpackedSize":32072,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDstt1QWkGMVP5hA2jygcUjijrPfXZhqDrqgqEsM4FL4AiEApjDoqSzWcdM0vCo7rIPzk+3R5Px8Fj06ow7JGVu9xfg="}],"size":10269},"_npmUser":{"name":"anonymous","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-pnpm_0.0.1_1786279167191_0.3472099394335586"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-09T12:39:27.314Z","publish_time":1786279167314,"_source_registry_name":"default","contributors":[]},"0.0.2":{"name":"get-pnpm","version":"0.0.2","description":"Installs pnpm as a standalone executable","keywords":["pnpm","install","installer"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"},"homepage":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme","bugs":{"url":"https://github.com/pnpm/get.pnpm.io/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"bin":{"get-pnpm":"bin/get-pnpm.js"},"devDependencies":{"@types/node":"^24.10.1","typescript":"^5.9.3"},"engines":{"node":">=22.13"},"scripts":{"build":"tsc","test":"tsc && node --test test/*.test.ts"},"_id":"get-pnpm@0.0.2","dist":{"integrity":"sha512-N/M2eyRbGmooggXeFC+ZCz0gZ3dP8fXJp/GoWMYOxdYKFw+ez86DdsfD/+RfDKY1iMsiUqHfDYbXDrEsMVdauw==","shasum":"4a9389dc4828bcd566fde2ba3a05dae6dfbe4fa4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.2.tgz","fileCount":23,"unpackedSize":50857,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6mA8EziuY5nClCTKURv2X2YHA/Wzyh/Z6Ekt/VJvPdAIgcK/a42Q70V+lFSzpM6FhxR18sXSRPuiQZiTnmYjRojg="}],"size":15180},"_npmUser":{"name":"anonymous","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-pnpm_0.0.2_1786806820304_0.6126504197864922"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-15T15:13:40.453Z","publish_time":1786806820453,"_source_registry_name":"default","contributors":[]},"0.0.3":{"name":"get-pnpm","version":"0.0.3","description":"Installs pnpm as a standalone executable","keywords":["pnpm","install","installer"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"},"homepage":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme","bugs":{"url":"https://github.com/pnpm/get.pnpm.io/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"bin":{"get-pnpm":"bin/get-pnpm.js"},"devDependencies":{"@types/node":"^24.10.1","typescript":"^5.9.3"},"engines":{"node":">=22.13"},"scripts":{"build":"tsc","test":"tsc && node --test test/*.test.ts"},"_id":"get-pnpm@0.0.3","dist":{"integrity":"sha512-icuCs2/4Y2/Vv+w71/uGlBs1Tuh+tK3TASDnwmzbDm4THhwrVoJK1PDqaHu7ehPh5VuEGtwdT3mZZdV4E7Kuwg==","shasum":"a2c46af30cb601fa4e92bda92fd9067c9a70130a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.3.tgz","fileCount":23,"unpackedSize":51787,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC974prWKvvCcJ8JNOygp5SBDzDPX3ZPJVDK5V6swjK/QIge6D7rXJ59AlzmWEj+v73D1lhQHmLcscOB/Df38gmRCA="}],"size":15452},"_npmUser":{"name":"anonymous","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-pnpm_0.0.3_1786808008770_0.47585031575982706"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-15T15:33:28.911Z","publish_time":1786808008911,"_source_registry_name":"default","contributors":[]},"0.0.4":{"name":"get-pnpm","version":"0.0.4","description":"Installs pnpm as a standalone executable","keywords":["pnpm","install","installer"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"},"homepage":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme","bugs":{"url":"https://github.com/pnpm/get.pnpm.io/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"bin":{"get-pnpm":"bin/get-pnpm.js"},"devDependencies":{"@types/node":"^24.10.1","typescript":"^5.9.3"},"engines":{"node":">=22.13"},"scripts":{"build":"tsc","test":"tsc && node --test test/*.test.ts"},"_id":"get-pnpm@0.0.4","dist":{"integrity":"sha512-eSVPy1Tk2O2eXSUJEATDFAJKHxE9am2RR4sxKgWc6CtItreAKtgOJ/hqHBDI9HWtex2DTr+rO2vqEGdp4EDr2g==","shasum":"c6551bca971d02d51a3f3a1a67f15f43021c6e23","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.4.tgz","fileCount":23,"unpackedSize":52227,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGX8/PrJEraueehGW97z4FLGEBHn7gtbuNLbGE1QnwYJAiEAinfSQLunGNDHimKPwuV9U9wpOVAf2wRjGftFrPn0ksY="}],"size":15535},"_npmUser":{"name":"anonymous","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-pnpm_0.0.4_1789046156925_0.3406771825288084"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-10T13:15:57.069Z","publish_time":1789046157069,"_source_registry_name":"default","contributors":[]},"0.0.5":{"name":"get-pnpm","version":"0.0.5","description":"Installs pnpm as a standalone executable","keywords":["pnpm","install","installer"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm"},"homepage":"https://github.com/pnpm/get.pnpm.io/tree/main/get-pnpm#readme","bugs":{"url":"https://github.com/pnpm/get.pnpm.io/issues"},"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"bin":{"get-pnpm":"bin/get-pnpm.js"},"devDependencies":{"@types/node":"^24.10.1","typescript":"^5.9.3"},"engines":{"node":">=22.13"},"scripts":{"build":"tsc","test":"tsc && node --test test/*.test.ts"},"_id":"get-pnpm@0.0.5","dist":{"integrity":"sha512-70vqRw+aJCLUKEwKzN4vS6+zPnsZ3gm0eBfjwD8VPUlb/9HkGfjvruGeN+AHRQ1d3s1x9Ld2ewgSfc7QfuUGyw==","shasum":"bdc52d9e0346ffda64db53a5bed60698b83f80e1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/get-pnpm/-/get-pnpm-0.0.5.tgz","fileCount":23,"unpackedSize":55919,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFEgZE7ZVSHJvwHrKgbPQaT20aSTaPUOwcCeWdg7uGU5AiEAuVaM0elN483oVVw+I/NMaZrHZ9n3U7zcKRqix09Llvg="}],"size":16426},"_npmUser":{"name":"anonymous","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"anonymous","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-pnpm_0.0.5_1789340251566_0.5901546807633313"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-13T22:57:31.702Z","publish_time":1789340251702,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.5"},"name":"get-pnpm","time":{"created":"2022-01-27T02:24:12.489Z","modified":"2026-09-13T22:57:40.583Z","0.0.0":"2018-02-24T14:37:43.299Z","0.0.1":"2026-08-09T12:39:27.314Z","0.0.2":"2026-08-15T15:13:40.453Z","0.0.3":"2026-08-15T15:33:28.911Z","0.0.4":"2026-09-10T13:15:57.069Z","0.0.5":"2026-09-13T22:57:31.702Z"},"readme":"# get-pnpm\n\n> Installs pnpm as a standalone executable\n\nInstalls pnpm the same way [the standalone install script](https://github.com/pnpm/get.pnpm.io) does — a self-contained executable in `PNPM_HOME`, on your `PATH`, with no dependency on Node.js afterwards — for people who would rather not pipe a script into a shell.\n\n## Usage\n\n```sh\nnpx get-pnpm\n```\n\nInstall a specific version, major, or dist-tag:\n\n```sh\nnpx get-pnpm 12         # the latest release of pnpm 12\nnpx get-pnpm next-12    # the pnpm 12 prerelease lane\nnpx get-pnpm 11.20.0    # an exact version\n```\n\nThen open a new terminal, or source the file the installer names in its output.\n\n## How it works\n\n1. Resolves the requested version against the `pnpm` dist-tags.\n2. Downloads the executable for your platform from the npm registry.\n3. Checks npm's signature over the package's checksum, then the download against that checksum.\n4. Runs `pnpm setup`, which installs the executable globally and adds `PNPM_HOME` to your `PATH`.\n\nStep 3 is what makes step 2 worth trusting. The registry publishes both the tarball\nand its checksum, so a checksum taken from it proves nothing on its own; npm also\nsigns `<name>@<version>:<integrity>` with a key that this package pins, and a\ndownload that fails either check is refused rather than installed.\n\nThe download goes to the registry npm is configured with (`npm_config_registry`), not to GitHub — including the tarball itself, so a registry that proxies npm and hands back an npmjs.org URL does not send the download off the mirror. The command does not support registries that require authentication; `downloadPnpmExecutable` takes request headers for one.\n\n## Environment variables\n\n| Variable | Description |\n| --- | --- |\n| `PNPM_VERSION` | Version to install when no argument is given. |\n| `PNPM_HOME` | Directory to install pnpm into. |\n| `npm_config_registry` | Registry to download pnpm from. |\n| `HTTPS_PROXY`, `HTTP_PROXY`, `NO_PROXY` | Proxy to download through, and hosts to reach directly. Applied on Node 24.14 and later; earlier releases go direct. |\n\n## Using it from a program\n\n`installPnpm` does what the command does: download, verify, then hand over to\n`pnpm setup`, which installs globally and edits your `PATH`. A caller that\nmanages its own directory — a CI action, say — wants `downloadPnpm` instead,\nwhich verifies and places the executable and nothing else:\n\n```js\nimport { downloadPnpm } from 'get-pnpm'\n\nconst { version, binPath } = await downloadPnpm({\n  versionSpec: 'next-12',\n  registry: 'https://registry.npmjs.org/',\n  dest: '/opt/pnpm',\n})\n```\n\nA caller that already knows the exact version, and already has everything else\npnpm ships with, wants `downloadPnpmExecutable`: it places the executable at a\npath you name and touches nothing else. No dist-tags are resolved, so no\npackument is fetched, and the `dist/` tree that travels beside the executable is\nleft to the caller. Corepack is the case it exists for — it unpacks the `pnpm`\npackage itself but installs none of its dependencies, so the executable has to\narrive separately.\n\n```js\nimport { downloadPnpmExecutable } from 'get-pnpm'\n\nawait downloadPnpmExecutable({\n  version: '12.0.0',\n  registry: 'https://registry.npmjs.org/',\n  destPath: '/opt/pnpm/pnpm',\n  headers: { authorization: 'Bearer …' }, // optional; never sent off the registry\n})\n```\n\nIt verifies exactly what the other two do, and reads the archive in-process\nrather than shelling out to `tar`, so it works where no `tar` is on the PATH.\nPlacement is atomic and tolerates losing a race with a concurrent call.\n\nPass `keys` to trust a signing key other than the pinned npm one, or\n`verifySignature: false` to download from a registry that carries no npm\nsignatures at all — a private mirror that re-published the package. The checksum\nis still enforced either way; what is lost is the assurance that it came from\nsomewhere other than the host that served the bytes.\n\n## Development\n\n```sh\npnpm install\npnpm test     # builds, then runs the tests against the build output\n```\n\nThe published package runs on Node.js 22.13 and newer. The test runner needs\n22.18 or newer, which is where Node runs TypeScript without a flag.\n\n## Other ways to install pnpm\n\nSee [pnpm.io/installation](https://pnpm.io/installation). The shell and PowerShell\ninstallers in this repository do the same job for machines without Node.js, and pin\nthe same npm signing key.","users":{}}