docs: add step 0 to set the PowerShell execution policy on Windows
Process scope for the current window, LocalMachine RemoteSigned so it persists and ncp works from later shells without -ExecutionPolicy Bypass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,13 @@ manually from the app (**Start AI** in the sidebar), not at boot.
|
||||
### Windows (recommended)
|
||||
|
||||
```powershell
|
||||
# 0. Allow scripts to run. Process scope covers THIS window (dies when it
|
||||
# closes); the LocalMachine line makes it stick for every future shell, so
|
||||
# `ncp` works without -ExecutionPolicy Bypass later. Run PowerShell as
|
||||
# Administrator for the LocalMachine line.
|
||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
|
||||
Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy RemoteSigned -Force
|
||||
|
||||
# 1. Install Git, then clone (public repo, no account/token needed):
|
||||
winget install Git.Git
|
||||
# open a NEW PowerShell window, then:
|
||||
|
||||
Reference in New Issue
Block a user