Skip to content

Commit d252e96

Browse files
andyvandsisyphus-dev-ai
andcommitted
docs(installer): add linux shell persistence guidance
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent 50e3719 commit d252e96

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This repo is the public installer entrypoint. Keep installer behavior stable acr
1414

1515
## Platform Critical
1616
- `install.sh` must use LF line endings. CRLF breaks WSL with `set: pipefail\r`.
17+
- On Linux/macOS, persist PATH via the active shell profile or a dedicated sourced snippet only; do not blanket-edit every rc file.
18+
- Do not depend on `source ~/.bashrc` in non-interactive installer flow.
1719

1820
## Smoke Test Baseline
1921

@@ -23,4 +25,5 @@ This repo is the public installer entrypoint. Keep installer behavior stable acr
2325
## Troubleshooting Fast Path
2426
- If version lookup fails, verify fallback-to-`beta` logic runs before any hard failure.
2527
- If WSL fails near shell options, check `install.sh` line endings first.
28+
- If install was launched with `sudo`, verify the installer targeted the intended user home/profile and did not silently persist into the wrong account.
2629
- When fixing one script, confirm the same behavior in the other script before closing work.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ OCS (OpenCode Config Suites) quick installer for Multi Agents workflow, AI codin
1010
curl -fsSL https://raw.githubusercontent.com/andyvandaric/opencode-suites-installer/main/install.sh | bash
1111
```
1212

13+
Run it from your normal user shell. Do not wrap the installer in `sudo`, or profile/config writes may target the wrong home directory.
14+
1315
Install specific version:
1416

1517
```bash

0 commit comments

Comments
 (0)