pixi icon indicating copy to clipboard operation
pixi copied to clipboard

[docs] Windows install command blocked by security software – add alternative methods

Open vikash7485 opened this issue 8 months ago • 3 comments

Problem description

Problem Description

The official Windows installation command documented at https://pixi.sh fails on machines with restricted PowerShell execution policies, which is the default configuration in most corporate and enterprise environments. The documentation currently does not:

  • Warn users that PowerShell execution policy restrictions may block the install script
  • Provide a documented fallback installation path (e.g., via winget, Scoop, or manual binary download)
  • Explain how to safely inspect the install script prior to execution for security-conscious users or audited environments

This results in a broken first-time experience with no clear resolution path from the official documentation.

Commands I ran and their output

iwr -useb https://pixi.sh/install.ps1 | iex
iex : File cannot be loaded. The file
C:\Users\<user>\AppData\Local\Temp\install.ps1 is not digitally signed.
You cannot run this script on the current system. For more information about
running scripts and setting execution policy, run Get-Help about_Execution_Policies.

pixi.toml / pyproject.toml

Not applicable — issue occurs before any project is created.

pixi info

Not applicable — installation failed due to execution policy restriction.

Other files

Get-ExecutionPolicy -List

# MachinePolicy    Undefined
# UserPolicy       Undefined
# Process          Undefined
# CurrentUser      Undefined
# LocalMachine     Restricted

vikash7485 avatar Mar 19 '26 10:03 vikash7485

Hey @certik 👋 Raised a PR to fix the Windows install docs.

Added:

  • Warning for restricted PowerShell execution policies
  • Alternative install methods (winget, Scoop, manual)

Please review and share feedback.

vikash7485 avatar Mar 19 '26 10:03 vikash7485

This smells strongly of AI hallucination, so let's not spend time on this.

hunger avatar Mar 20 '26 10:03 hunger

Got it, thanks for pointing that out.

vikash7485 avatar Mar 20 '26 10:03 vikash7485