docs(npm): simplify current setup command (#469)

This commit is contained in:
morluto
2026-08-10 03:24:24 +08:00
committed by GitHub
parent 1783bf6dfd
commit 8b62b1a715
7 changed files with 21 additions and 27 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ REA separates installing its CLI from configuring external software and agents.
The recommended setup entrypoint is:
```bash
npx --yes --prefer-online rea-agents@latest setup
npx --yes rea-agents@latest setup
```
If npm asks to download and run the package, that approval applies only to the
@@ -15,8 +15,8 @@ current package-runner invocation. REA still prints its own setup plan and asks
for separate approval before changing agent configuration or installing a
product-owned component.
The explicit `@latest` request and `--prefer-online` metadata policy prevent a
project dependency or stale npx cache entry from choosing the setup version.
The explicit `@latest` request prevents a project dependency or stale npx cache
entry from choosing the setup version.
REA runs the version npm selected and never silently replaces an intentional
version request after launch. To repair registrations written by an older
release, rerun the command above and review the resulting setup plan.