forked from enderofwings/NexusOS
docs: fix step 0 markdown - keep commands fenced, explanations as prose
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -36,21 +36,33 @@ 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
|
||||
**0. Allow scripts to run.** PowerShell blocks unsigned scripts by default,
|
||||
which stops Nexus's CLI from working. **Process** scope covers only the current
|
||||
terminal window:
|
||||
|
||||
# 1. Install Git, then clone (public repo, no account/token needed):
|
||||
```powershell
|
||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
|
||||
```
|
||||
|
||||
**LocalMachine** scope makes it permanent, so `ncp` works from every future
|
||||
shell (run PowerShell as Administrator for this one):
|
||||
|
||||
```powershell
|
||||
Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy RemoteSigned -Force
|
||||
```
|
||||
|
||||
**1. Install Git and clone** (public repo, no account/token needed):
|
||||
|
||||
```powershell
|
||||
winget install Git.Git
|
||||
# open a NEW PowerShell window, then:
|
||||
git clone https://git.enderofwings.com/enderofwings/NexusOS.git nexus-core
|
||||
cd nexus-core
|
||||
```
|
||||
|
||||
# 2. Native install — winget Python/Node/Ollama, venv, pip, web build, desktop icon
|
||||
**2. Native install** — winget Python/Node/Ollama, venv, pip, web build, desktop icon:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\install-windows.ps1
|
||||
```
|
||||
|
||||
@@ -61,12 +73,6 @@ Then double-click the **NexusOS** desktop icon, or launch from a **new** shell
|
||||
ncp web
|
||||
```
|
||||
|
||||
> The installer needs `-ExecutionPolicy Bypass` because Windows blocks unsigned
|
||||
> `.ps1` by default; it's a one-run override, nothing permanent. It self-elevates,
|
||||
> so a UAC prompt appears. `ncp` itself is `management\ncp.cmd` on the machine
|
||||
> PATH — a `.cmd`, so no execution-policy change is ever needed, and it works
|
||||
> from cmd and Task Scheduler as well as PowerShell.
|
||||
|
||||
The app opens at `:8000`; click **Start AI** to launch Ollama. The installer
|
||||
uses `requirements-windows.txt` (CPU-only, pure-Python — no ML stack, since Ollama
|
||||
does all inference over HTTP).
|
||||
|
||||
Reference in New Issue
Block a user