Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

OpenCode Bootstrap

One-command setup for OpenCode + oh-my-opencode-slim + agent-skills on fresh Arch and Debian systems.

What it does

  • Installs latest LTS Node.js via nvm or system package manager
  • Replicates your exact .npmrc settings
  • Installs opencode CLI globally with multiple fallbacks
  • Installs oh-my-opencode-slim plugin locally
  • Clones agent-skills and symlinks all skills
  • Writes all config files (opencode.jsonc, oh-my-opencode-slim.json, tui.json)
  • Verifies every component

Supported systems

  • Arch Linux (pacman)
  • Debian/Ubuntu (apt, with NodeSource LTS repo)
  • Any system with nvm installed

Usage

bash <(curl -fsSL https://raw.githubusercontent.com/bobincraft1/opencode-bootstrap/main/setup-opencode.sh) --yes

Or 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

Options

Flag Description
--yes / -y Skip prompts, run non-interactively
--agent-skills-dir /path/to/agent-skills Custom agent-skills location

Requirements

  • bash 4+
  • Internet access
  • On fresh systems: script auto-installs git, curl, ca-certificates, and Node.js LTS

Post-install

# Restart shell
source ~/.bashrc   # or ~/.zshrc

# Verify
opencode --version

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages