์ค์น๋ถํฐ ์ธ์ฆ๊น์ง ํ ๋ฒ์ ๋๋ด๋ ์ค์ต ๋ฌธ์์ ๋๋ค. ๊ทธ๋๋ก ๋ฐ๋ผํ๋ฉด ์ค์น ์ฑ๊ณต ์ฌ๋ถ๋ฅผ ์ฆ์ ํ์ธํ ์ ์์ต๋๋ค.
์ค์น ๋ชฉ์ ์ด ์์ง ํท๊ฐ๋ฆฌ๋ฉด ๋จผ์ 04. Oh-My-OpenCode ๊ฐ์๋ฅผ ๋ณด๊ณ ์ค์ธ์. (๋ฌด์์ธ์ง/์ ์ค์นํ๋์ง/์ฒด๊ฐ ์ด์ ์ ๋ฆฌ)
Ubuntu์์ bunx๊ฐ ๋งํ ๋ ๋จผ์ ํ์ธํ ๊ฒ
Ubuntu ์ฌ์ฉ์๋ bunx oh-my-opencode install ๋จ๊ณ์์ ์ฒ์ ๋งํ๊ธฐ ์ฝ์ต๋๋ค. ์ด์ ๋ ๊ฐ๋จํฉ๋๋ค. bunx๋ Node.js ๋ช
๋ น์ด ์๋๋ผ Bun์ ํฌํจ๋ ์คํ๊ธฐ๋ผ์, OpenCode๋ง ์ค์น๋์ด ์์ด๋ Bun์ด ์์ผ๋ฉด ๋ฐ๋ก ์คํ๋์ง ์์ต๋๋ค.
๊ฐ์ฅ ๋น ๋ฅธ ํด๊ฒฐ์ Bun ์ค์น โ PATH ๋ฐ์ โ bunx ํ์ธ โ ์ค์น ์คํ ์์๋ก ๊ฐ๋ ๊ฒ์
๋๋ค. Bun ๊ณต์ ๋ฌธ์๋ Linux์์๋ unzip ํจํค์ง๋ฅผ ๋จผ์ ์ค๋นํ๊ณ , ์ค์น ํ bun --version์ผ๋ก ๊ฒ์ฆํ๋ผ๊ณ ์๋ดํฉ๋๋ค.
sudo apt update
sudo apt install -y unzip
curl -fsSL https://bun.com/install | bash
# bash๋ฉด ~/.bashrc, zsh๋ฉด ~/.zshrc ๋ค์ ๋ถ๋ฌ์ค๊ธฐ
source ~/.bashrc
bun --version
bunx --versionbun: command not found๊ฐ ๋จ๋ฉด ์ค์น๊ฐ ์์ง ์ ๋๋ฌ๊ฑฐ๋ PATH ๋ฐ์์ด ์ ๋ ์ํ์ ๋๋ค.bun์ ๋๋๋ฐbunx๊ฐ ์ ๋ณด์ด๋ฉด ํฐ๋ฏธ๋์ ์๋ก ์ด๊ฑฐ๋source ~/.bashrc/source ~/.zshrc๋ฅผ ๋ค์ ์คํํด ๋ณด์ธ์.- ํ์ฌ ์๋ฒ์ฒ๋ผ Bun ์ถ๊ฐ ์ค์น๊ฐ ๋ถ๋ด๋๋ฉด ์๋ ๋์์ฒ๋ผ
npx oh-my-opencode install๋ก ๋จผ์ ์งํํ ์๋ ์์ต๋๋ค. ๋ค๋ง ์๋ฌธ์bunx๊ฒฝ๋ก๋ฅผ ๊ธฐ๋ณธ ์ถ์ฒํฉ๋๋ค.
๊ณต์ ์ฐธ๊ณ
- Bun ์ค์น ๋ฌธ์: https://bun.sh/docs/installation
- Oh-My-OpenCode ์ค์น ์๋ฌธ: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/guide/installation.md
๋น ๋ฅด๊ฒ ์คํ (๋ณต๋ถ)
opencode --version
# Ubuntu์์ bunx๊ฐ ์ฒ์์ด๋ฉด ๋จผ์ Bun ์ค์น
sudo apt update && sudo apt install -y unzip
curl -fsSL https://bun.com/install | bash
source ~/.bashrc # zsh ์ฌ์ฉ์๋ source ~/.zshrc
bun --version
bunx --version
bunx oh-my-opencode install
bunx oh-my-opencode install --no-tui --claude=yes --openai=yes --gemini=yes --copilot=no
cat ~/.config/opencode/opencode.json
opencode auth loginflowchart TD A[๋ฒ์ ํ์ธ] --> B[๊ตฌ๋ ์ต์ ] B --> C[์ค์น] C --> D[๊ฒ์ฆ] D --> E[์ธ์ฆ]
๋จ๊ณ๋ณ ์ ์ฉ
1) OpenCode ์ค์น ํ์ธ
- ์ค๋ช
:
opencode --version์ผ๋ก OpenCode ์ ์ค์น๋ฅผ ํ์ธํฉ๋๋ค. ์์ผ๋ฉด ๋จผ์ OpenCode ์ค์น๋ฅผ ๋๋ ๋๋ค. - ์คํ ์์:
opencode --version
2) ๊ตฌ๋ ํ๋๊ทธ ๊ฒฐ์
- ์ค๋ช : Claude/OpenAI/Gemini/Copilot/OpenCode-Zen/Z.ai ์ฌ์ฉ ์ฌ๋ถ๋ฅผ ๋จผ์ ์ ํ๊ณ ์ค์น ํ๋๊ทธ๋ก ๋ณํํฉ๋๋ค.
- ์คํ ์์:
bunx oh-my-opencode install
3) ์ค์น ์คํ
- ์ค๋ช
: interactive(
bunx ... install) ๋๋ non-interactive(--no-tui)๋ก ์ค์นํฉ๋๋ค. Ubuntu์์bunx: command not found๊ฐ ๋จ๋ฉด Bun ์ค์น์ PATH ๋ฐ์๋ถํฐ ๋จผ์ ๋๋ด์ผ ํฉ๋๋ค. - ์คํ ์์:
bunx oh-my-opencode install --no-tui --claude=yes --openai=yes --gemini=yes --copilot=no - Ubuntu ๋น ๋ฅธ ์ ๊ฒ:
bun --version && bunx --version
4) ์ค์น ๊ฒฐ๊ณผ ๊ฒ์ฆ
- ์ค๋ช
:
~/.config/opencode/opencode.json์์ plugin ๋ฑ๋ก ์ฌ๋ถ๋ฅผ ํ์ธํฉ๋๋ค. - ์คํ ์์:
cat ~/.config/opencode/opencode.json
5) ๊ณต๊ธ์ ์ธ์ฆ
- ์ค๋ช
:
opencode auth login์ผ๋ก Anthropic/Google/GitHub ๋ฑ ํ์ํ ์ธ์ฆ์ ์งํํฉ๋๋ค. - ์คํ ์์:
opencode auth login
Ubuntu์์ ์ค์ ๋ก ๋ง์ด ๋งํ๋ ๋ ๊ฐ์ง
1) bunx: command not found
๊ฐ์ฅ ํํ ๊ฒฝ์ฐ์
๋๋ค. OpenCode๋ ์ด๋ฏธ ์ค์น๋ผ ์์ด์ opencode --version์ ์ ๋์ค๋๋ฐ, ์ ์ bunx oh-my-opencode install์์ ๋ฉ์ถฅ๋๋ค. ์ด๋ด ๋๋ OpenCode ๋ฌธ์ ๊ฐ ์๋๋ผ Bun ๋ฐํ์์ด ์์ง ์๋ ์ํ์ผ ๊ฐ๋ฅ์ฑ์ด ํฝ๋๋ค.
ํ์ธ ์์๋ ์งง๊ฒ ์ก๋ ๊ฒ ์ข์ต๋๋ค.
opencode --version
bun --version
bunx --version- ์ฒซ ์ค๋ง ๋๊ณ ๋ค์ ๋ ์ค์ด ์ ๋๋ฉด Bun ์ค์น๋ฅผ ๋จผ์ ๋๋ด๋ฉด ๋ฉ๋๋ค.
- ์ค์น ์งํ์๋ ์ ๋๋ฉด ํฐ๋ฏธ๋์ ์๋ก ์ด๊ฑฐ๋
source ~/.bashrc,source ~/.zshrc๋ฅผ ๋ค์ ์คํํด PATH๋ฅผ ๋ฐ์ํ์ธ์.
๊ณต์ ๊ธฐ์ค ์ฐธ๊ณ
- Bun ์ค์น: https://bun.sh/docs/installation
2) ์ค์น๋ ๋๋๋ฐ ํ๋ฌ๊ทธ์ธ์ด ์ ๋ณด์
๋ช
๋ น์ ํต๊ณผํ๋๋ฐ ~/.config/opencode/opencode.json์ oh-my-opencode๊ฐ ์ ๋ณด์ด๋ฉด ์ค์น๊ฐ ์ค๊ฐ์ ์คํจํ๊ฑฐ๋, ๋ค๋ฅธ ์
ธ/๊ณ์ ์์ ์คํํ์ ๊ฐ๋ฅ์ฑ์ ๋จผ์ ๋ด์ผ ํฉ๋๋ค.
cat ~/.config/opencode/opencode.json์ฌ๊ธฐ์ ํ๋ฌ๊ทธ์ธ ๋ฐฐ์ด์ oh-my-opencode๊ฐ ๋ณด์ฌ์ผ ๋ค์ ๋จ๊ณ๋ก ๋์ด๊ฐ๋ ๋ฉ๋๋ค. ๋ณด์ด์ง ์์ผ๋ฉด ์ค์น๋ฅผ ํ ๋ฒ ๋ ์คํํ๊ณ , ๊ทธ๋๋ ๊ฐ์ผ๋ฉด npx oh-my-opencode install๋ก ํ ๋ฒ ๊ต์ฐจ ํ์ธํด๋ณด๋ ํธ์ด ๋น ๋ฆ
๋๋ค.
๋น ๋ฅธ ํ์ฅ ์์
- ๊ฐ์ธ Ubuntu ๋
ธํธ๋ถ: Node.js์ OpenCode๋ง ๋จผ์ ์ค์นํด ๋ ์ํ์์
bunx๋ฅผ ๋ฐ๋ก ์ณค๋ค๊ฐ ๋งํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์ต๋๋ค. ์ด๋๋ Bun ์ค์น๋ง ์ถ๊ฐํ๋ฉด ๋๋ถ๋ถ ๋ฐ๋ก ํด๊ฒฐ๋ฉ๋๋ค. - ํด๋ผ์ฐ๋ Ubuntu ์๋ฒ: SSH๋ก ์ ์ํด ์ค์นํ ๋๋ Bun ์ค์น ํ ํ์ฌ ์
ธ์ PATH๊ฐ ๋ฐ์๋์ง ์์ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ๋ณต๋๊ธฐ๋ ํฉ๋๋ค. ์ด๋ฐ ๊ฒฝ์ฐ๋ ์ ๋ก๊ทธ์ธ ์ธ์
์ ์ด๊ฑฐ๋
source ~/.bashrc๋ก ๋ฐ๋ก ํ์ธํ๋ ํธ์ด ๊ฐ์ฅ ๋น ๋ฆ ๋๋ค.
๋ค์ ์ฝ๊ธฐ
๋ถ๋ก) ์๋ฌธ ์ฝ๋ ์ค๋ํซ (๊ฒ์์ฉ, ์ด๋ณด์๋ ๊ฑด๋๋ฐ๊ธฐ)
bunx oh-my-opencode install # recommended
npx oh-my-opencode install # alternativebunx oh-my-opencode install --no-tui --claude=<yes|no|max20> --gemini=<yes|no> --copilot=<yes|no> [--openai=<yes|no>] [--opencode-zen=<yes|no>] [--zai-coding-plan=<yes|no>]opencode --version # Should be 1.0.150 or higher
cat ~/.config/opencode/opencode.json # Should contain "oh-my-opencode" in plugin arrayopencode auth login
# Interactive Terminal: find Provider: Select Anthropic
# Interactive Terminal: find Login method: Select Claude Pro/Max
# Guide user through OAuth flow in browser
# Wait for completion
# Verify success and confirm with user{
"plugin": [
"oh-my-opencode",
"opencode-antigravity-auth@latest"
]
}{
"agents": {
"multimodal-looker": { "model": "google/antigravity-gemini-3-flash" }
}
}opencode auth login
# Interactive Terminal: Provider: Select Google
# Interactive Terminal: Login method: Select OAuth with Google (Antigravity)
# Complete sign-in in browser (auto-detected)
# Optional: Add more Google accounts for multi-account load balancing
# Verify success and confirm with userbunx oh-my-opencode install
# Select your subscriptions (Claude, ChatGPT, Gemini)
# When prompted: "Do you have a GitHub Copilot subscription?" โ Select "Yes"๋ง๋ฌด๋ฆฌ ์ฒดํฌ
- ์ โ๋น ๋ฅด๊ฒ ์คํโ ๋ช ๋ น์ ์ต์ 1๊ฐ ์คํํ๋ค.
- ์คํจ ์ โ์๋ฌธ ์คํ ์ฝ๋ ํ์ฅโ์ ๊ด๋ จ ์ฝ๋๋ฅผ ์ฌ์ฉํด ์ฌ๊ฒ์ฆํ๋ค.
- ์๋ณธ ํญ๋ชฉ ๋์กฐ ์ธ๋ฑ์ค์์ ๋น ์ง ๊ธฐ๋ฅ์ด ์๋์ง ํ์ธํ๋ค.
์ด ๋ฌธ์๋ AI๋ฅผ ํ์ฉํด ์ด์์ ์ ๋ฆฌํ๊ณ , ๋ช ๋ น์ด์ ์ค์น ํ๋ฆ์ ๊ณต์ ๋ฌธ์ ๊ธฐ์ค์ผ๋ก ๋ค์ ํ์ธํ์ต๋๋ค.
์ถ์ฒ
- ์๋ฌธ(๋ก์ปฌ):
oh-my-opencode/docs/guide/installation.md - ์๋ฌธ(GitHub): https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/guide/installation.md