Installation on Windows (Powershell)
1. Prerequisites
Windows 10/11, 64-bit (Requires Administrator rights for system-wide installs and changes to execution policy)
2. Install Node.js (v22+) & npm
To install using the official installer:
Download the Windows x64 MSI for Node.js v22.x.x (LTS)
https://nodejs.org/en/download/
Right-click → Run as Administrator .
Accept defaults on each screen (ensures node & npm are added to your PATH).
After installing, you can verify the version by running the following command in your powershell:
Copy node -- version # should be v22.x.x or higher
npm -- version 3. (Optional) nvm-for-Windows
If you need multiple Node versions side by side:
Unzip & run nvm-setup.exe as Administrator.
Open a new PowerShell session, then:
4. Handling PowerShell Execution Policy & Blocked Remote Files
Issue : scripts cannot be loaded because running scripts is disabled on this system
Allow local & signed scripts only:
Issue : Powershell flagging .ps1 or .msi as “blocked",
5. Install the P0 CLI
If you see permissions errors, run powershell as an administrator and run the command again.
Alternatively, to use a per-user install, run the following command:
You can verify P0 installation in your system by running the following command:
6. AWS CLI & Session Manager Plugin (for p0 aws & p0 ssh)
AWS CLI v2
To install AWS CLI v2:
Run installer as administrator.
You can verify the installation by running the following command:
Session Manager Plugin
You can verify the installation by running the following command:
7. Handling Proxy & Corporate Firewall Issues
Issue : npm install times out, or p0 login can’t reach your org.
8. Troubleshooting & Tips
- Restart PowerShell (to pick up new PATH).- Check %USERPROFILE%\AppData\Roaming\npm.
Error: EACCES permissions denied
- Run PowerShell as Administrator.- Try --location=global for npm.
Set-ExecutionPolicy still blocked on corporate PC
- Check with IT: some shops lock policy via Group Policy (GPO).
session-manager-plugin not recognized
- Ensure AWS CLI folder is on PATH.- Reopen PowerShell.
p0 login never opens browser
- Set $env:AZURE_AUTH_METHOD = 'browser' for certain orgs that disable embedded webviews.
You’re all set! Next up: Configurationarrow-up-right → p0 login <YOUR_ORG_ID> and start requesting access.
Last updated 4 months ago