One-command setup for OpenCode + oh-my-opencode-slim + agent-skills on fresh Arch and Debian systems.
- Installs latest LTS Node.js via nvm or system package manager
- Replicates your exact
.npmrcsettings - Installs
opencodeCLI globally with multiple fallbacks - Installs
oh-my-opencode-slimplugin locally - Clones
agent-skillsand symlinks all skills - Writes all config files (
opencode.jsonc,oh-my-opencode-slim.json,tui.json) - Verifies every component
- Arch Linux (pacman)
- Debian/Ubuntu (apt, with NodeSource LTS repo)
- Any system with nvm installed
bash <(curl -fsSL https://raw.githubusercontent.com/bobincraft1/opencode-bootstrap/main/setup-opencode.sh) --yesOr download and run locally:
curl -fsSL https://raw.githubusercontent.com/bobincraft1/opencode-bootstrap/main/setup-opencode.sh -o setup-opencode.sh
chmod +x setup-opencode.sh
bash setup-opencode.sh --yes| Flag | Description |
|---|---|
--yes / -y |
Skip prompts, run non-interactively |
--agent-skills-dir /path/to/agent-skills |
Custom agent-skills location |
bash4+- Internet access
- On fresh systems: script auto-installs
git,curl,ca-certificates, and Node.js LTS
# Restart shell
source ~/.bashrc # or ~/.zshrc
# Verify
opencode --versionMIT