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:
jon
2026-07-22 18:12:12 -05:00
co-authored by Claude Opus 4.8
parent d562b93ff4
commit 1bd5cf966d
+7
View File
@@ -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: