Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.
Connector/Remote Repository

pwsh

PowerShell Core is the open source multiplatform version of PowerShell.

Recent Packages

VersionDownloadsVulnerabilities
7.5.272None
7.5.176None
7.5.0210None
7.4.111None
7.4.108None

Vulnerabilities

All vulnerabilities for this package have been assessed.

Usage Instructions

Latest Version: 7.5.2
To install pwsh from the command line, run the following command: ``` choco install pwsh --version 7.5.2 --source https://proget.cnsit.com/nuget/Chocolatey/ ```
Latest PreRelease Version: 7.6.0-preview04
To install pwsh from the command line, run the following command: ``` choco install pwsh --version 7.6.0-preview04 --source https://proget.cnsit.com/nuget/Chocolatey/ ```

Description

[![](https://gitlab.com/guided-explorations/microsoft/chocolatey/powershell-core/badges/main/pipeline.svg)](https://gitlab.com/guided-explorations/microsoft/chocolatey/powershell-core/-/pipelines) [Update status](https://gitlab.com/guided-explorations/microsoft/chocolatey/powershell-core/-/jobs) [![](http://transparent-favicon.info/favicon.ico)](#)[chocolatey/DarwinJS](https://chocolatey.org/profiles/DarwinJS) PowerShell Core is the open source multiplatform version of PowerShell Preview releases are under the package id powershell-preview so that they can be safely installed and maintained side-by-side with the release versions on production systems. Preview versions do not become the default powershell core edition on a system (unless they are the ONLY edition), if you have a preview version installed, access it via pwsh's '-pre' switch. This package automatically does verbose MSI logging to %temp%\(packagenameandversion).MsiInstall.log Some helpful install options (any of them can be combined - delimited by space): * Any MSI Properties the package responds to can be specified in the same way, even if not documented here. --install-arguments='"POWERSHELL\_TELEMETRY\_OPTOUT"' - Valid for PowerShell 7.4 and later - disables built in telemetry. Read more about PowerShell telemetry here: https://devblogs.microsoft.com/powershell/new-telemetry-in-powershell-7-preview-3/ --install-arguments='"ADD\_FILE\_CONTEXT\_MENU\_RUNPOWERSHELL=1"' Installs a right click context menu to run .ps1 scripts in PowerShell Core. --install-arguments='"ADD\_EXPLORER\_CONTEXT\_MENU\_OPENPOWERSHELL=1"' Installs a right click context menu to start a PowerShell Core prompt for a specific folder. --install-arguments='"REGISTER\_MANIFEST=1"' Causes PowerShell Core to deliver logs to Windows Event logs. --install-arguments='"ENABLE\_PSREMOTING=1"' Enable PS remoting during installation. --install-arguments='"USE\_MU=1 ENABLE\_MU=1"' Enable powershell to be updated via windows updates - this chocolatey package defaults to disabling these. Available with PWSH MSI Package for 7.2 and later. --install-arguments='"ADD\_EXPLORER\_CONTEXT\_MENU\_OPENPOWERSHELL=1 REGISTER\_MANIFEST=1 ENABLE\_PSREMOTING=1"' Do it all. --packageparameters '"/CleanUpPath"' Removes all powershell core paths before starting install. Cleans up old paths from old powershell core MSIs.