From 1bd5cf966ddc286e6f9520b52df19c86b0c1384a Mon Sep 17 00:00:00 2001 From: jon Date: Wed, 22 Jul 2026 18:12:12 -0500 Subject: [PATCH] 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 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ef415e2..de96caa 100644 --- a/README.md +++ b/README.md @@ -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: