Download packages/web/src/content/docs/ko/troubleshooting.mdx from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 10.3 kB
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/web/src/content/docs/ko/troubleshooting.mdx
- Command line
-
hf download hf://SaylorTwift/opencode/packages/web/src/content/docs/ko/troubleshooting.mdx
-
curl -L -o troubleshooting.mdx https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/web/src/content/docs/ko/troubleshooting.mdx
10.3 kB
| title: ๋ฌธ์ ํด๊ฒฐ | |
| description: ์ผ๋ฐ์ ์ธ ๋ฌธ์ ์ ํด๊ฒฐ ๋ฐฉ๋ฒ. | |
| opencode์ ๋ฌธ์ ๋ฅผ ๋๋ฒ๊ทธํ๋ ค๋ฉด ๋ก๊ทธ์ ๋ก์ปฌ ๋ฐ์ดํฐ๋ฅผ ํ์ธํ์ฌ ๋์คํฌ์ ์ ์ฅํฉ๋๋ค. | |
| ## ๋ก๊น | |
| ๋ก๊ทธ ํ์ผ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค: | |
| -**macOS/๋ฆฌ๋ ์ค**: `~/.local/share/opencode/log/` | |
| - **Windows**: ์๋ฐ `WIN+R`์ ํ `%USERPROFILE%\.local\share\opencode\log` | |
| ๋ก๊ทธ ํ์ผ์ ํ์์คํฌํ (์ : `2025-01-09T123456.log`)๊ณผ ๊ฐ์ฅ ์ต๊ทผ 10 ๋ก๊ทธ ํ์ผ์ด ๋ณด๊ด๋ฉ๋๋ค. | |
| ์์ธํ ๋๋ฒ๊ทธ ์ ๋ณด๋ฅผ ์ป๊ธฐ ์ํด `--log-level` ๋ช ๋ น์ค ์ต์ ์ ์ฌ์ฉํ์ฌ ๋ก๊ทธ ๋ ๋ฒจ์ ์ค์ ํ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค๋ฉด, `opencode --log-level DEBUG`. | |
| ## ์ ์ฅ์ | |
| opencode ์ ์ฅ ์ธ์ ๋ฐ์ดํฐ ๋ฐ ๋์คํฌ์ ๋ค๋ฅธ ์์ฉ ๋ฐ์ดํฐ: | |
| -**macOS/๋ฆฌ๋ ์ค**: `~/.local/share/opencode/` | |
| - **Windows**: ์๋ฐ `WIN+R`์ ํ `%USERPROFILE%\.local\share\opencode` | |
| ์ด ๋๋ ํ ๋ฆฌ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค: | |
| - `auth.json` - API ํค, OAuth ํ ํฐ๊ณผ ๊ฐ์ ์ธ์ฆ ๋ฐ์ดํฐ | |
| - `log/` - ์์ฉ ํ๋ก๊ทธ๋จ ๋ก๊ทธ | |
| - `project/` - ์ธ์ ๋ฐ ๋ฉ์์ง ๋ฐ์ดํฐ์ ๊ฐ์ ํ๋ก์ ํธ๋ณ ๋ฐ์ดํฐ | |
| - ํ๋ก์ ํธ๊ฐ Git repo ์์ ์๋ ๊ฒฝ์ฐ์, ๊ทธ๊ฒ์ `./<project-slug>/storage/`์์ ์ ์ฅ๋ฉ๋๋ค | |
| - Git repo๊ฐ ์๋ ๊ฒฝ์ฐ `./global/storage/`์ ์ ์ฅ๋ฉ๋๋ค. | |
| ## ๋ฐ์คํฌํฑ ์ฑ | |
| opencode ๋ฐ์คํฌํฑ์ ๋ฐฐ๊ฒฝ์์ ๋ก์ปฌ opencode ์๋ฒ (`opencode-cli` sidecar)๋ฅผ ์คํํฉ๋๋ค. ๋๋ถ๋ถ์ ๋ฌธ์ ๋ misbehaving ํ๋ฌ๊ทธ์ธ, ์์๋ ์บ์, ๋๋ ๋์ ์๋ฒ ์ค์ ์ ์ํด ๋ฐ์ํฉ๋๋ค. | |
| ## ๋น ๋ฅธ ํ์ธ | |
| - ์์ ํ ์ข ๋ฃํ๊ณ ์ฑ์ ๋ค์ ์์. | |
| - ์ฑ์ด ์ค๋ฅ ํ๋ฉด์ ๋ณด์ฌ ์ฃผ๋ฉด ** Restart**๋ฅผ ํด๋ฆญํ๊ณ ์ค๋ฅ ์ธ๋ถ ์ ๋ณด๋ฅผ ๋ณต์ฌํฉ๋๋ค. | |
| - macOS๋ง: `OpenCode` ๋ฉ๋ด -> **์น๋ทฐ **(UI๊ฐ ๊ณต๋ฐฑ/frozen์ธ ๊ฒฝ์ฐ). | |
| ## ํ๋ฌ๊ทธ์ธ ๋นํ์ฑํ | |
| ๋ฐ์คํฌํฑ ์ฑ์ด ์ถ์, ๊ฑฐ๋, ๋๋ ์ด์ํ ๊ฒ์์ ์ถฉ๋ํ๋ฉด ํ๋ฌ๊ทธ์ธ์ ๋นํ์ฑํํ์ฌ ์์ํฉ๋๋ค. | |
| ### ์ ์ญ ์ค์ ํ์ธ | |
| ๊ธ๋ก๋ฒ ์ค์ ํ์ผ์ ์ด๊ณ `plugin` ํค๋ฅผ ์ฐพ์ต๋๋ค. | |
| -**macOS/๋ฆฌ๋ ์ค**: `~/.config/opencode/opencode.jsonc` (๋๋ `~/.config/opencode/opencode.json`) -**macOS/Linux** (์ธ๋ถ ์ค์น): `~/.local/share/opencode/opencode.jsonc` | |
| - **Windows**: ์๋ฐ `WIN+R`์ ํ `%USERPROFILE%\.config\opencode\opencode.jsonc` | |
| ๊ตฌ์ฑ ๋ ํ๋ฌ๊ทธ์ธ์ด์๋ ๊ฒฝ์ฐ, ์ผ์์ ์ผ๋ก ํค๋ฅผ ์ ๊ฑฐํ๊ฑฐ๋ ๋น ๋ฐฐ์ด๋ก ์ค์ ํ์ฌ ๋นํ์ฑํํ์ญ์์ค. | |
| ```jsonc | |
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "plugin": [], | |
| } | |
| ``` | |
| ### ํ๋ฌ๊ทธ์ธ ๋๋ ํฐ๋ฆฌ ํ์ธ | |
| opencode๋ ๋์คํฌ์์ ๋ก์ปฌ ํ๋ฌ๊ทธ์ธ์๋ก๋ ํ ์ ์์ต๋๋ค. Temporarily ์ด๋ ์ด๋ฌํ ๋ฐฉ๋ฒ (๋๋ ํด๋ ์ด๋ฆ์ ๋ณ๊ฒฝ) ๋ฐ ๋ฐ์คํฌํฑ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋ค์ ์์: | |
| - **๊ธ๋ก๋ฒ ํ๋ฌ๊ทธ์ธ** -**macOS/๋ฆฌ๋ ์ค**: `~/.config/opencode/plugins/` | |
| - **Windows**: ์๋ฐ `WIN+R`์ ํ `%USERPROFILE%\.config\opencode\plugins` | |
| - **ํ๋ก์ ํธ ํ๋ฌ๊ทธ์ธ** (ํ๋ก์ ํธ ์ค์ ๋ง ์ฌ์ฉ) | |
| - `<your-project>/.opencode/plugins/` | |
| ์ฑ์ด ๋ค์ ์ผํ๋ ๊ฒฝ์ฐ, ์ฌ ํ์ฑํ ํ๋ฌ๊ทธ์ธ์ ํ ๋ฒ์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ ์ ์์ต๋๋ค. | |
| #### ์บ์ ์ญ์ | |
| ํ๋ฌ๊ทธ์ธ์ ๋นํ์ฑํํ๋ ๊ฒฝ์ฐ ๋์์ด๋์ง ์์ต๋๋ค (๋๋ ํ๋ฌ๊ทธ์ธ ์ค์น๊ฐ ๋ถ์ด์๋ค), ์บ์๋ฅผ ์ญ์ ๊ทธ๋์ opencode๋ ๊ทธ๊ฒ์ ์ฌ๊ตฌ์ฑ ํ ์ ์์ต๋๋ค. | |
| 1. Quit opencode ๋ฐ์คํฌํฑ ์์ ํ. | |
| 2. ์บ์ ๋๋ ํ ๋ฆฌ ์ญ์ : | |
| -**macOS**: ์ฐพ๊ธฐ -> `Cmd+Shift+G` -> ๋ถ์ฌ๋ฃ๊ธฐ `~/.cache/opencode` | |
| - **Linux**: `~/.cache/opencode` ์ญ์ (๋๋ `rm -rf ~/.cache/opencode` ์คํ) | |
| - **Windows**: ์๋ฐ `WIN+R`์ ํ `%USERPROFILE%\.cache\opencode` | |
| 3. Restart opencode ๋ฐ์คํฌํ. | |
| ## ์๋ฒ ์ฐ๊ฒฐ ๋ฌธ์ ์์ | |
| opencode ๋ฐ์คํฌํฑ์ ์์ฒด ๋ก์ปฌ ์๋ฒ(๊ธฐ๋ณธ)๋ฅผ ์์ํ๊ฑฐ๋ ๊ตฌ์ฑ๋ ์๋ฒ URL์ ์ฐ๊ฒฐํ ์ ์์ต๋๋ค. | |
| **"Connection Failed"** ๋ํ ์์ (๋๋ ์ฑ์ด ์คํจ์ ํ๋ฉด์ ์ง๋์ง ์์ต๋๋ค), ์ฌ์ฉ์ ์ ์ ์๋ฒ URL์ ํ์ธํฉ๋๋ค. | |
| ### ๋ฐ์คํฌํฑ ๊ธฐ๋ณธ ์๋ฒ URL ์ญ์ | |
| Home ํ๋ฉด์์ Server Picker๋ฅผ ์ด๋ ค๋ฉด ์๋ฒ ์ด๋ฆ(์ํ ์ )์ ํด๋ฆญํ์ญ์์ค. **๊ธฐ๋ณธ ์๋ฒ** ์น์ ์์ **Clear**๋ฅผ ํด๋ฆญํฉ๋๋ค. | |
| #### ์ค์ ์์ server.port/server.hostname ์ ๊ฑฐ | |
| `opencode.json(c)`๊ฐ `server` ์น์ ์ ํฌํจํ๋ฉด ์ผ์์ ์ผ๋ก ์ ๊ฑฐํ๊ณ ๋ฐ์คํฌํฑ ์ฑ์ ๋ค์ ์์ํฉ๋๋ค. | |
| ### ํ๊ฒฝ ๋ณ์ ํ์ธ | |
| `OPENCODE_PORT`๊ฐ ์๋ ๊ฒฝ์ฐ, ๋ฐ์คํฌํ ์ฑ์ ๋ก์ปฌ ์๋ฒ์ ํฌํธ๋ฅผ ์ฌ์ฉํ๋ ค๊ณ ํฉ๋๋ค. | |
| - `OPENCODE_PORT` (๋๋ ๋ฌด๋ฃ ํฌํธ๋ฅผ ์ ํ) ๋ฐ ์ฌ์์. | |
| ## Linux: Wayland / X11 ๋ฌธ์ | |
| Linux์์ ์ผ๋ถ Wayland ์ค์ ์ ๊ณต๋ฐฑ ์ฐฝ์ด๋ compositor ์ค๋ฅ๋ฅผ ์ผ์ผํฌ ์ ์์ต๋๋ค. | |
| - If you're on Wayland and the app is blank/crashing, `OC_ALLOW_WAYLAND=1`๋ก ์ถ์ํ๋ ค๊ณ ํฉ๋๋ค. | |
| - ๋ ๋์ ๊ฒ์ ๋ง๋๋ ๊ฒฝ์ฐ, ์ ๊ฑฐํ๊ณ X11 ์ธ์ ์์ ์คํํ๋ ค๊ณ ํฉ๋๋ค. | |
| ## Windows: WebView2 ๋ฐํ์ | |
| Windows์์ opencode ๋ฐ์คํฌํฑ์ Microsoft Edge ** WebView2 ์คํ ์๊ฐ **๋ฅผ ์๊ตฌํฉ๋๋ค. ์ฑ์ด ๊ณต๋ฐฑ ์ฐฝ์ ์ด๊ฑฐ๋ ์์ํ์ง ์์ ๊ฒฝ์ฐ, install/update WebView2๋ฅผ ์ค์นํ๊ณ ๋ค์ ์๋ํ์ญ์์ค. | |
| ## Windows: ์ผ๋ฐ ์ฑ๋ฅ ๋ฌธ์ | |
| ๋๋ฆฐ ์ฑ๋ฅ, ํ์ผ ์ก์ธ์ค ๋ฌธ์ ๋๋ Windows์ terminal ๋ฌธ์ ๋ฅผ ๊ฒฝํํ๋ ๊ฒฝ์ฐ [WSL (Windows Subsystem for Linux)](/docs/windows-wsl)๋ฅผ ์ฌ์ฉํ์ฌ ์๋ํ์ญ์์ค. WSL์ opencode์ ๊ธฐ๋ฅ์ผ๋ก ๋ ์ํํ๊ฒ ์๋ํ๋ Linux ํ๊ฒฝ์ ์ ๊ณตํฉ๋๋ค. | |
| ## ์๋ฆผ์ด ํ์๋์ง ์์ | |
| opencode ๋ฐ์คํฌํฑ์ ์์คํ ์๋ฆผ์ ๋ณด์ฌ์ค๋๋ค : | |
| - OS ์ค์ ์์ opencode์ ๋ํ ์๋ฆผ์ด ํ์ฑํ๋๊ณ , | |
| - ์ฑ ์ฐฝ์ด ์ง์ค๋์ง ์์ต๋๋ค. | |
| ## ๋ฐ์คํฌํฑ ์ฑ ์ ์ฅ์ ์ฌ์ค์ (์ตํ์ ์๋จ) | |
| ์ฑ์ด ์์๋์ง ์์ ๊ฒฝ์ฐ UI ๋ด๋ถ์์ ์ค์ ์ ์ทจ์ํ ์ ์์ต๋๋ค. ๋ฐ์คํฌํ ์ฑ์ ์ ์ฅ๋ ์ํ๋ฅผ ์ฌ์ค์ ํ์ญ์์ค. | |
| 1. Quit opencode ๋ฐ์คํฌํ. | |
| 2. ์ด ํ์ผ์ ์ฐพ์ ์ญ์ (opencode ๋ฐ์คํฌํฑ ์ฑ ๋ฐ์ดํฐ ๋๋ ํ ๋ฆฌ์์ ๋ผ์ด๋ธ): | |
| - `opencode.settings.dat` (๋ฐ์คํฌํฑ ๊ธฐ๋ณธ ์๋ฒ URL) | |
| - `opencode.global.dat` ๋ฐ `opencode.workspace.*.dat` (์ต๊ทผ ์๋ฒ/ํ๋ก์ ํธ์ ๊ฐ์ UI ๊ตญ๊ฐ) | |
| ๋น ๋ฅธ ๋๋ ํ ๋ฆฌ๋ฅผ ์ฐพ์ ์: | |
| -**macOS**: Finder -> `Cmd+Shift+G` -> `~/Library/Application Support` (์์ ํ์ผ๋ช ๊ฒ์) | |
| - **๋ฆฌ๋ ์ค **: ์์ ํ์ผ๋ช ์ ๋ํ `~/.local/share`์ ๋ฐ์ ๊ฒ์ | |
| - **Windows**: `WIN+R` -> `%APPDATA%`๋ฅผ ๋๋ฌ (์์ ํ์ผ ์ด๋ฆ์ ๊ฒ์) | |
| ## ๋์ ๋ฐ๊ธฐ | |
| opencode์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ฉด: | |
| 1. ** GitHub์ ๋ฌธ์ ํด๊ฒฐ ** | |
| ๋ฒ๊ทธ ๋๋ ์์ฒญ ๊ธฐ๋ฅ์๋ณด๊ณ ํ๋ ๊ฐ์ฅ ์ข์ ๋ฐฉ๋ฒ์ GitHub ์ ์ฅ์๋ฅผ ํตํด ๋ค์๊ณผ ๊ฐ์ต๋๋ค. | |
| [**github.com/anomalyco/opencode/issues**](https://github.com/anomalyco/opencode/issues) | |
| ์๋ก์ด ๋ฌธ์ ๋ฅผ ๋ง๋ค๊ธฐ ์ ์, ๋น์ ์ ๋ฌธ์ ๊ฐ ์ด๋ฏธ๋ณด๊ณ ๋ ๊ฒฝ์ฐ ๊ธฐ์กด ๋ฌธ์ ๋ฅผ ๊ฒ์. | |
| 2. ** ์ฐ๋ฆฌ์ Discord ** | |
| ์ค์๊ฐ ๋์๋ง ๋ฐ ์ปค๋ฎค๋ํฐ ํ ๋ก ์ ์ํด Discord ์๋ฒ์ ๊ฐ์ ํ์ญ์์ค. | |
| [**opencode.ai/discord**](https://opencode.ai/discord) | |
| ## ์ผ๋ฐ์ ์ธ ๋ฌธ์ | |
| ๋ช ๊ฐ์ง ์ผ๋ฐ์ ์ธ ๋ฌธ์ ์ ํด๊ฒฐ ๋ฐฉ๋ฒ. | |
| ## opencode๊ฐ ์์๋์ง ์์ต๋๋ค. | |
| 1. ์ค๋ฅ ๋ฉ์์ง์ ๋ํ ๋ก๊ทธ ํ์ธ | |
| 2. terminal์ ์๋ ์ฐ์ถ์ ๋ณด๊ธฐ ์ํ์ฌ `--print-logs`๋ก ๋ฌ๋ฆฌ๊ธฐ๋ฅผ ์๋ํ์ญ์์ค | |
| 3. ๋น์ ์ `opencode upgrade`๋ฅผ ๊ฐ์ง ์ต์ ๋ฒ์ ์ด ์๋ ๊ฒ์ ์งํต๋๋ค | |
| ### ์ธ์ฆ ๋ฌธ์ | |
| 1. TUI์์ `/connect` ๋ช ๋ น์ผ๋ก ๋ค์ ์ ๋ ฅ ์๋ | |
| 2. API ํค๊ฐ ์ ํจํ๋ค๋ ๊ฒ์ ํ์ธ | |
| 3. ๋คํธ์ํฌ๊ฐ ๊ณต๊ธ์์ API์ ์ฐ๊ฒฐ์ ํ์ฉ | |
| #### ๋ชจ๋ธ์ ์ฌ์ฉํ ์ ์์ | |
| 1. ๊ณต๊ธ์์ ์ ํตํ ํ์ธ | |
| 2. config์ ๋ชจ๋ธ๋ช ์ ์์ ํ๋ค. | |
| 3. ๋ช๋ช ๋ชจํ์ ํน์ ํ ์ ๊ทผ ๋๋ ๊ตฌ๋ ์ ์๊ตฌํ ์ง๋ ๋ชจ๋ฆ ๋๋ค | |
| ๋ง์ฝ ๋น์ ์ด `ProviderModelNotFoundError`์ ์ง๋ฉด ํ๋ ๊ฒฝ์ฐ ๊ฐ์ฅ ๊ฐ๋ฅ์ฑ์ด ์๋ชป | |
| ๋ชจ๋ธ ์ด๋๊ฐ๋ฅผ ๋ํ๋ ๋๋ค. | |
| ๋ชจํ์ ์ด๋ ๊ฒ ์ฐธ๊ณ ๋์ด์ผ ํฉ๋๋ค: `<providerId>/<modelId>` | |
| ์์ : | |
| - `openai/gpt-4.1` | |
| - `openrouter/google/gemini-2.5-flash` | |
| - `opencode/kimi-k2` | |
| ๋น์ ์ด ์ก์ธ์ค ํ ์์๋ ๋ชจ๋ธ์ ํ์ ํ๋ ค๋ฉด, `opencode models`๋ฅผ ์คํ | |
| ## ProviderInitError | |
| ProviderInitError๊ฐ ๋ฐ์ํ๋ฉด ์๋ชป๋ ๊ตฌ์ฑ์ด๋ ์์๋ ๊ตฌ์ฑ์ด ์์ต๋๋ค. | |
| ํด๊ฒฐํ๊ธฐ: | |
| 1. ์ฒซ์งธ๋ก, ๋น์ ์ ๊ณต๊ธ์๋ [providers guide](./providers)๋ฅผ ๋ฐ๋ฅด๊ธฐ ์ํ์ฌ ์ ๋๋ก ์ค์น๋ฉ๋๋ค | |
| 2. ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ฉด ์ ์ฅ๋ ๊ตฌ์ฑ์ ์ญ์ ํ์ญ์์ค. | |
| ```bash | |
| rm -rf ~/.local/share/opencode | |
| ``` | |
| Windows์์, `WIN+R`๋ฅผ ๋๋ฅด๊ณ ์ญ์ ํ์ญ์์ค: `%USERPROFILE%\.local\share\opencode` | |
| 3. TUI์ `/connect` ๋ช ๋ น์ ์ฌ์ฉํ์ฌ ๊ณต๊ธ์์ ์ฌํด. | |
| ### AI_APICallError ๋ฐ ๊ณต๊ธ์ ํจํค์ง ๋ฌธ์ | |
| API ํธ์ถ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ฉด, ์ด ๊ณต๊ธ ์ ์ฒด ํจํค์ง๋ก ์ธํด ๋ฐ์ํ ์ ์์ต๋๋ค. opencode ๋์ ์ค์น ๊ณต๊ธ์ ํจํค์ง (OpenAI, Anthropic, Google ๋ฑ) ํ์ ํ ๊ณ ๋ก์ปฌ๋ก ์บ์. | |
| ๊ณต๊ธ์ ํจํค์ง ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ค๋ฉด: | |
| 1. ๊ณต๊ธ์ ํฌ์ฅ ์บ์๋ฅผ ์ง์ฐ์ญ์์ค: | |
| ```bash | |
| rm -rf ~/.cache/opencode | |
| ``` | |
| Windows์์, `WIN+R`๋ฅผ ๋๋ฅด๊ณ ์ญ์ ํ์ญ์์ค: `%USERPROFILE%\.cache\opencode` | |
| 2. ์ต์ ๊ณต๊ธ์ ํฌ์ฅ์ ์ฌ์ค์นํ๋ Restart opencode | |
| ์ด๊ฒ์ ์ข ์ข ๋ชจ๋ธ ๋งค๊ฐ ๋ณ์์ API ๋ณ๊ฒฝ๊ณผ ํธํ์ฑ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๊ณต๊ธ์ ํจํค์ง์ ๊ฐ์ฅ ์ต๊ทผ ๋ฒ์ ์ ๋ค์ด๋ก๋ํ๊ธฐ ์ํด opencode๋ฅผ ๊ฐ์ ํฉ๋๋ค. | |
| #### Linux์์ ๋ณต์ฌ/๋ถ์ฌ๋ฃ๊ธฐ ์๋ ์ ํจ | |
| Linux ์ฌ์ฉ์๋ ๋ค์๊ณผ ๊ฐ์ ํด๋ฆฝ ๋ณด๋ ์ ํธ๋ฆฌํฐ ์ค ํ๋๊ฐ ๋ณต์ฌ / ๋ถ์ฌ ๋ฃ๊ธฐ ๊ธฐ๋ฅ์ ์ค์นํด์ผํฉ๋๋ค. | |
| ** X11 ์์คํ :** | |
| ```bash | |
| apt install -y xclip | |
| # or | |
| apt install -y xsel | |
| ``` | |
| **์จ์ด๋๋ ์์คํ :** | |
| ```bash | |
| apt install -y wl-clipboard | |
| ``` | |
| ** ํค๋๋ฆฌ์ค ํ๊ฒฝ์ ๋ํ:** | |
| ```bash | |
| apt install -y xvfb | |
| # and run: | |
| Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
| export DISPLAY=:99.0 | |
| ``` | |
| opencode๋ ๋น์ ์ด Wayland๋ฅผ ์ฌ์ฉํ๊ณ `wl-clipboard`๋ฅผ ์ ํธํ๋ ๊ฒฝ์ฐ์ ๊ฒ์ถํ ๊ฒ์ ๋๋ค, ๊ทธ๋ ์ง ์์ผ๋ฉด์ ์์์ ์๋ ํด๋ฆฝ๋ณด๋ ๊ณต๊ตฌ๋ฅผ ์ฐพ์๋ผ ๊ฒ์ ๋๋ค: `xclip`์ `xsel`. | |