Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

100,586

Downloads of v 10.8.1:

729

Last Update:

15 Apr 2025

Package Maintainer(s):

Software Author(s):

  • Contributors of pnpm

Tags:

pnpm node npm

pnpm

This is not the latest version of pnpm available.

  • 1
  • 2
  • 3

10.8.1 | Updated: 15 Apr 2025

Downloads:

100,586

Downloads of v 10.8.1:

729

Maintainer(s):

Software Author(s):

  • Contributors of pnpm

Tags:

pnpm node npm

pnpm 10.8.1

This is not the latest version of pnpm available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Contributors of pnpm. The inclusion of Contributors of pnpm trademark(s), if any, upon this webpage is solely to identify Contributors of pnpm goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install pnpm, run the following command from the command line or from PowerShell:

>

To upgrade pnpm, run the following command from the command line or from PowerShell:

>

To uninstall pnpm, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade pnpm -y --source="'INTERNAL REPO URL'" --version="'10.8.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pnpm -y --source="'INTERNAL REPO URL'" --version="'10.8.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install pnpm
  win_chocolatey:
    name: pnpm
    version: '10.8.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'pnpm' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '10.8.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller pnpm
{
    Name     = "pnpm"
    Version  = "10.8.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pnpm':
  ensure   => '10.8.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 15 Apr 2025.

Description

Background

pnpm uses a content-addressable filesystem to store all files from all module directories on a disk.
When using npm, if you have 100 projects using lodash, you will have 100 copies of lodash on disk.
With pnpm, lodash will be stored in a content-addressable storage, so:

  1. If you depend on different versions of lodash, only the files that differ are added to the store.
    If lodash has 100 files, and a new version has a change only in one of those files,
    pnpm update will only add 1 new file to the storage.
  2. All the files are saved in a single place on the disk. When packages are installed, their files are linked
    from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).

As a result, you save gigabytes of space on your disk and you have a lot faster installations!
If you'd like more details about the unique node_modules structure that pnpm creates and
why it works fine with the Node.js ecosystem, read this small article: Flat node_modules is not the only way.

Getting Started

Benchmark

pnpm is up to 2x faster than npm and Yarn classic. See all benchmarks here.

Benchmarks on an app with lots of dependencies:


tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = $Env:chocolateyPackageName
$packagePnpmVersion = [version]([regex]'^\d+(\.\d+){2}').Match($Env:chocolateyPackageVersion).Value
$scriptRoot = Split-Path -parent $MyInvocation.MyCommand.Definition

$architecture = 'x64'
$platform = 'win'
$pnpmExecutableFileName = "$packageName.exe"

if ([System.Environment]::Is64BitOperatingSystem -eq $false) {
	Write-Error "pnpm currently only provides binaries for x64 architectures on Windows are available. Try to install pnpm using npm."
	return
}

$pnpmExecutablePath = "$scriptRoot\$pnpmExecutableFileName"
$pnpmExecutableUrl = "https://github.com/pnpm/pnpm/releases/download/v$packagePnpmVersion/pnpm-$platform-$architecture.exe"
$packageWebFileArgs = @{
    packageName     = $packageName
    fileFullPath    = $pnpmExecutablePath
    url             = $pnpmExecutableUrl
    checksumType    = 'sha256'
    checksum        = 'e95cb87936d91c6e3d4f21ba0cd2a3e90c6e64f8f477402ebe0fa4dbbf13aa70'
}
Get-ChocolateyWebFile @packageWebFileArgs
update.ps1
$VerbosePreference = 'Continue'
$DebugPreference = 'Continue'

Install-Module chocolatey-au -Force

$latestRelease = "https://api.github.com/repos/pnpm/pnpm/releases/latest"

function global:au_BeforeUpdate {
    $Latest.Checksum = Get-RemoteChecksum $Latest.URL -Algorithm sha256
}

function global:au_SearchReplace {
    @{
        'tools\chocolateyInstall.ps1' = @{
            "(?i)(^\s*checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum)'"
        }
    }
}

function global:au_GetLatest {
    $packageJson = Invoke-WebRequest -UseBasicParsing -Uri $latestRelease | ConvertFrom-Json
    $packageVersion = $packageJson.tag_name -Replace "^v"
    $packageAsset = $packageJson.assets | Where-Object { $_.name -eq "pnpm-win-x64.exe" }

    @{
        Version       = $packageVersion
        RemoteVersion = $packageVersion
        URL           = $packageAsset.browser_download_url
    }
}

update -ChecksumFor none

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
pnpm 10.8.1 729 Tuesday, April 15, 2025 Approved
pnpm 10.8.0 736 Tuesday, April 8, 2025 Approved
pnpm 10.7.1 639 Wednesday, April 2, 2025 Approved
pnpm 10.7.0 719 Thursday, March 27, 2025 Approved
pnpm 10.6.5 817 Friday, March 21, 2025 Approved
pnpm 10.6.4 497 Tuesday, March 18, 2025 Approved
pnpm 10.6.3 498 Friday, March 14, 2025 Approved
pnpm 10.6.2 482 Tuesday, March 11, 2025 Approved
pnpm 10.6.1 270 Monday, March 10, 2025 Approved
pnpm 10.6.0 435 Friday, March 7, 2025 Approved
pnpm 10.5.2 729 Friday, February 28, 2025 Approved
pnpm 10.5.1 271 Thursday, February 27, 2025 Approved
pnpm 10.5.0 78 Wednesday, February 26, 2025 Approved
pnpm 10.4.1 1169 Monday, February 17, 2025 Approved
pnpm 10.4.0 363 Friday, February 14, 2025 Approved
pnpm 10.3.0 444 Tuesday, February 11, 2025 Approved
pnpm 10.2.1 563 Friday, February 7, 2025 Approved
pnpm 10.2.0 420 Tuesday, February 4, 2025 Approved
pnpm 10.0.0-rtw 32 Wednesday, January 22, 2025 Approved
pnpm 9.15.5 378 Monday, February 3, 2025 Approved
pnpm 9.15.4 1216 Wednesday, January 22, 2025 Approved
pnpm 9.15.3 1789 Tuesday, January 7, 2025 Approved
pnpm 9.15.2 792 Monday, December 30, 2024 Approved
pnpm 9.15.1 727 Friday, December 20, 2024 Approved
pnpm 9.15.0 1065 Monday, December 9, 2024 Approved
pnpm 9.14.4 723 Monday, December 2, 2024 Approved
pnpm 9.14.2 1047 Thursday, November 21, 2024 Approved
pnpm 9.14.1 179 Wednesday, November 20, 2024 Approved
pnpm 9.13.2 271 Monday, November 18, 2024 Approved
pnpm 9.13.1 371 Friday, November 15, 2024 Approved
pnpm 9.13.0 175 Thursday, November 14, 2024 Approved
pnpm 9.12.3 1192 Tuesday, October 29, 2024 Approved
pnpm 9.12.2 1326 Thursday, October 17, 2024 Approved
pnpm 9.12.1 962 Tuesday, October 8, 2024 Approved
pnpm 9.12.0 504 Thursday, October 3, 2024 Approved
pnpm 9.11.0 958 Monday, September 23, 2024 Approved
pnpm 9.10.0 1090 Tuesday, September 10, 2024 Approved
pnpm 9.9.0 1008 Tuesday, August 27, 2024 Approved
pnpm 9.8.0 421 Friday, August 23, 2024 Approved
pnpm 9.7.1 640 Thursday, August 15, 2024 Approved
pnpm 9.7.0 931 Wednesday, August 7, 2024 Approved
pnpm 9.6.0 1084 Monday, July 22, 2024 Approved
pnpm 9.5.0 458 Tuesday, July 16, 2024 Approved
pnpm 9.4.0 1816 Tuesday, June 18, 2024 Approved
pnpm 9.3.0 669 Tuesday, June 11, 2024 Approved
pnpm 9.1.4 549 Monday, June 3, 2024 Approved
pnpm 9.1.2 671 Thursday, May 23, 2024 Approved
pnpm 9.1.1 589 Thursday, May 16, 2024 Approved
pnpm 8.15.6 2175 Monday, April 8, 2024 Approved
pnpm 8.15.5 67 Monday, April 8, 2024 Approved
pnpm 8.15.1 5175 Tuesday, January 30, 2024 Approved
pnpm 8.15.0 249 Monday, January 29, 2024 Approved
pnpm 8.14.3 535 Wednesday, January 24, 2024 Approved
pnpm 8.14.2 192 Tuesday, January 23, 2024 Approved
pnpm 8.14.1 1327 Thursday, January 11, 2024 Approved
pnpm 8.14.0 838 Wednesday, January 3, 2024 Approved
pnpm 8.13.1 603 Wednesday, December 27, 2023 Approved
pnpm 8.12.1 1121 Thursday, December 14, 2023 Approved
pnpm 8.12.0 759 Monday, December 11, 2023 Approved
pnpm 8.11.0 1147 Monday, November 27, 2023 Approved
pnpm 8.10.5 910 Wednesday, November 15, 2023 Approved
pnpm 8.10.4 202 Tuesday, November 14, 2023 Approved
pnpm 8.10.3 203 Monday, November 13, 2023 Approved
pnpm 8.10.2 986 Thursday, November 2, 2023 Approved
pnpm 8.10.0 164 Monday, October 30, 2023 Approved
pnpm 8.9.2 1453 Monday, October 16, 2023 Approved
pnpm 8.9.0 698 Tuesday, October 10, 2023 Approved
pnpm 8.8.0 1203 Wednesday, September 27, 2023 Approved
pnpm 8.7.6 947 Monday, September 18, 2023 Approved
pnpm 8.7.5 703 Tuesday, September 12, 2023 Approved
pnpm 8.7.4 601 Wednesday, September 6, 2023 Approved
pnpm 8.7.3 234 Tuesday, September 5, 2023 Approved
pnpm 8.7.1 431 Friday, September 1, 2023 Approved
pnpm 8.7.0 504 Monday, August 28, 2023 Approved
pnpm 8.6.12 1458 Monday, August 7, 2023 Approved
pnpm 8.6.11 548 Tuesday, August 1, 2023 Approved
pnpm 8.6.10 798 Monday, July 24, 2023 Approved
pnpm 8.6.9 586 Tuesday, July 18, 2023 Approved
pnpm 8.6.8 104 Tuesday, July 18, 2023 Approved
pnpm 8.6.7 713 Monday, July 10, 2023 Approved
pnpm 8.6.6 560 Tuesday, July 4, 2023 Approved
pnpm 8.6.5 664 Tuesday, June 27, 2023 Approved
pnpm 8.6.4 202 Monday, June 26, 2023 Approved
pnpm 8.6.3 607 Tuesday, June 20, 2023 Approved
pnpm 8.6.2 799 Monday, June 12, 2023 Approved
pnpm 8.6.1 603 Tuesday, June 6, 2023 Approved
pnpm 8.6.0 518 Monday, May 29, 2023 Approved
pnpm 8.5.1 676 Monday, May 15, 2023 Approved
pnpm 8.5.0 276 Wednesday, May 10, 2023 Approved
pnpm 8.4.0 331 Wednesday, May 3, 2023 Approved
pnpm 8.3.1 495 Thursday, April 20, 2023 Approved
pnpm 8.3.0 177 Tuesday, April 18, 2023 Approved
pnpm 8.2.0 498 Tuesday, April 11, 2023 Approved
pnpm 8.1.1 256 Wednesday, April 5, 2023 Approved
pnpm 8.1.0 220 Monday, April 3, 2023 Approved
pnpm 7.33.4 1696 Tuesday, July 18, 2023 Approved
pnpm 7.30.5 743 Tuesday, March 28, 2023 Approved
pnpm 7.30.3 282 Monday, March 27, 2023 Approved
pnpm 7.30.1 632 Thursday, March 23, 2023 Approved
pnpm 7.30.0 809 Monday, March 20, 2023 Approved
pnpm 7.29.3 515 Thursday, March 16, 2023 Approved
pnpm 7.29.1 785 Thursday, March 9, 2023 Approved
pnpm 7.29.0 671 Monday, March 6, 2023 Approved
pnpm 7.28.0 1730 Monday, February 27, 2023 Approved
pnpm 7.27.1 869 Monday, February 20, 2023 Approved
pnpm 7.27.0 1625 Thursday, February 9, 2023 Approved
pnpm 7.26.3 806 Monday, February 6, 2023 Approved
pnpm 7.26.2 1312 Monday, January 30, 2023 Approved
pnpm 7.26.0 493 Thursday, January 26, 2023 Approved
pnpm 7.25.1 737 Friday, January 20, 2023 Approved
pnpm 7.25.0 629 Tuesday, January 17, 2023 Approved
pnpm 7.24.3 498 Thursday, January 12, 2023 Approved
pnpm 7.24.2 235 Wednesday, January 11, 2023 Approved
pnpm 7.23.0 576 Friday, January 6, 2023 Approved
pnpm 7.22.0 332 Wednesday, January 4, 2023 Approved
pnpm 7.21.0 399 Thursday, December 29, 2022 Approved
pnpm 7.20.0 259 Monday, December 26, 2022 Approved
pnpm 7.19.0 265 Thursday, December 22, 2022 Approved
pnpm 7.18.2 596 Wednesday, December 14, 2022 Approved
pnpm 7.18.1 567 Wednesday, December 7, 2022 Approved
pnpm 7.18.0 254 Monday, December 5, 2022 Approved
pnpm 7.17.1 440 Tuesday, November 29, 2022 Approved
pnpm 7.17.0 179 Saturday, November 26, 2022 Approved
pnpm 7.14.1 1530 Monday, October 31, 2022 Approved
pnpm 7.14.0 2702 Monday, October 24, 2022 Approved
pnpm 7.13.6 112 Friday, October 21, 2022 Approved
pnpm 7.13.5 483 Monday, October 17, 2022 Approved
pnpm 7.13.4 490 Tuesday, October 11, 2022 Approved
pnpm 7.13.3 137 Monday, October 10, 2022 Approved
pnpm 7.13.2 381 Thursday, October 6, 2022 Approved
pnpm 7.13.1 196 Wednesday, October 5, 2022 Approved
pnpm 7.13.0 210 Monday, October 3, 2022 Approved
pnpm 7.12.2 255 Friday, September 23, 2022 Approved
pnpm 7.12.1 154 Tuesday, September 20, 2022 Approved
pnpm 7.12.0 114 Monday, September 19, 2022 Approved
pnpm 7.11.0 286 Wednesday, September 7, 2022 Approved
pnpm 7.10.0 130 Monday, September 5, 2022 Approved
pnpm 7.9.5 236 Thursday, August 25, 2022 Approved
pnpm 7.9.4 130 Tuesday, August 23, 2022 Approved
pnpm 7.9.3 168 Thursday, August 18, 2022 Approved
pnpm 7.9.1 204 Thursday, August 11, 2022 Approved
pnpm 7.9.0 149 Monday, August 8, 2022 Approved
pnpm 7.8.0 205 Monday, August 1, 2022 Approved
pnpm 7.6.0 259 Friday, July 22, 2022 Approved
pnpm 7.5.2 246 Thursday, July 14, 2022 Approved
pnpm 7.5.1 149 Tuesday, July 12, 2022 Approved
pnpm 7.5.0 168 Friday, July 8, 2022 Approved
pnpm 7.4.1 490 Thursday, June 30, 2022 Approved
pnpm 7.4.0 358 Friday, June 24, 2022 Approved
pnpm 7.3.0 74 Tuesday, June 28, 2022 Approved
pnpm 7.2.1 200 Monday, June 13, 2022 Approved
pnpm 7.1.2 232 Thursday, May 19, 2022 Approved
pnpm 7.1.0 134 Monday, May 16, 2022 Approved
pnpm 7.0.0 208 Monday, May 2, 2022 Approved
pnpm 6.32.24 80 Friday, June 24, 2022 Approved
pnpm 6.32.22 83 Monday, June 13, 2022 Approved
pnpm 6.32.15 74 Thursday, May 19, 2022 Approved
pnpm 6.32.13 82 Monday, May 16, 2022 Approved
pnpm 6.32.11 81 Monday, May 2, 2022 Approved
pnpm 6.32.4 299 Monday, April 4, 2022 Approved
pnpm 6.32.1 240 Wednesday, February 23, 2022 Approved
pnpm 6.31.0 101 Thursday, February 17, 2022 Approved
pnpm 6.30.0 159 Monday, February 7, 2022 Approved
pnpm 6.29.1 125 Thursday, February 3, 2022 Approved
pnpm 6.25.1 95 Wednesday, January 12, 2022 Approved
pnpm 6.24.2 176 Wednesday, December 22, 2021 Approved
pnpm 6.23.6 966 Tuesday, December 21, 2021 Approved

This package has no dependencies.

Discussion for the pnpm Package

Ground Rules:

  • This discussion is only about pnpm and the pnpm package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or pnpm, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus