diff options
| author | Adam <[email protected]> | 2026-02-09 11:34:35 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-09 11:34:35 -0600 |
| commit | dc53086c1e73d43d3a28fc4cdf161e83d09b1877 (patch) | |
| tree | 45a1d0e38de958d0886a5120b2806b21db74145b /packages/web/src/content/docs/tr/windows-wsl.mdx | |
| parent | f74c0339cc6315f7e7743e26b7eab47ce026c239 (diff) | |
| download | opencode-dc53086c1e73d43d3a28fc4cdf161e83d09b1877.tar.gz opencode-dc53086c1e73d43d3a28fc4cdf161e83d09b1877.zip | |
wip(docs): i18n (#12681)
Diffstat (limited to 'packages/web/src/content/docs/tr/windows-wsl.mdx')
| -rw-r--r-- | packages/web/src/content/docs/tr/windows-wsl.mdx | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/packages/web/src/content/docs/tr/windows-wsl.mdx b/packages/web/src/content/docs/tr/windows-wsl.mdx new file mode 100644 index 000000000..cd80ce203 --- /dev/null +++ b/packages/web/src/content/docs/tr/windows-wsl.mdx @@ -0,0 +1,113 @@ +--- +title: Windows (WSL) +description: En iyi deneyim icin OpenCode'u WSL'de calistirin. +--- + +import { Steps } from "@astrojs/starlight/components" + +OpenCode Windows'ta dogrudan calisabilir, ancak en iyi deneyim icin [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install) kullanmanizi oneriyoruz. WSL, OpenCode ozellikleriyle sorunsuz calisan bir Linux ortami saglar. + +:::tip[Why WSL?] +WSL, daha iyi dosya sistemi performansi, tam terminal destegi ve OpenCode'un dayandigi gelistirme araclariyla uyumluluk sunar. +::: + +--- + +## Kurulum + +<Steps> + +1. **WSL'i yukleyin** + + Henuz yuklemediyseniz resmi Microsoft rehberini kullanarak [WSL kurulumunu](https://learn.microsoft.com/en-us/windows/wsl/install) yapin. + +2. **OpenCode'u WSL icine yukleyin** + + WSL hazir olduktan sonra WSL terminalini acin ve OpenCode'u [kurulum yontemlerinden](/docs/) biriyle yukleyin. + + ```bash + curl -fsSL https://opencode.ai/install | bash + ``` + +3. **OpenCode'u WSL icinden kullanin** + + Proje dizininize gidin (`/mnt/c/`, `/mnt/d/` vb. ile Windows dosyalarina erisebilirsiniz) ve OpenCode'u calistirin. + + ```bash + cd /mnt/c/Users/YourName/project + opencode + ``` + +</Steps> + +--- + +## Desktop uygulamasi + WSL sunucusu + +OpenCode Desktop kullanmak isteyip sunucuyu WSL'de calistirmak istiyorsaniz: + +1. **Sunucuyu WSL'de baslatin** ve dis baglantilara izin vermek icin `--hostname 0.0.0.0` kullanin: + + ```bash + opencode serve --hostname 0.0.0.0 --port 4096 + ``` + +2. **Desktop uygulamasini** `http://localhost:4096` adresine baglayin + +:::note +Kurulumunuzda `localhost` calismiyorsa bunun yerine WSL IP adresini kullanin (WSL icinde: `hostname -I`) ve `http://<wsl-ip>:4096` adresine baglanin. +::: + +:::caution +`--hostname 0.0.0.0` kullaniyorsaniz sunucuyu guvene almak icin `OPENCODE_SERVER_PASSWORD` ayarlayin. + +```bash +OPENCODE_SERVER_PASSWORD=your-password opencode serve --hostname 0.0.0.0 +``` + +::: + +--- + +## Web istemcisi + WSL + +Windows'ta en iyi web deneyimi icin: + +1. **`opencode web` komutunu PowerShell yerine WSL terminalinde calistirin**: + + ```bash + opencode web --hostname 0.0.0.0 + ``` + +2. **Windows tarayicinizdan** `http://localhost:<port>` adresini acin (OpenCode URL'yi yazdirir) + +`opencode web` komutunu WSL'den calistirmak, dosya sistemi erisimi ve terminal entegrasyonunu daha tutarli hale getirirken tarayicidan erisimi korur. + +--- + +## Windows dosyalarina erisin + +WSL, tum Windows dosyalariniza `/mnt/` dizini uzerinden erisebilir: + +- `C:` surucusu -> `/mnt/c/` +- `D:` surucusu -> `/mnt/d/` +- Ve digerleri... + +Ornek: + +```bash +cd /mnt/c/Users/YourName/Documents/project +opencode +``` + +:::tip +En sorunsuz deneyim icin deponuzu WSL dosya sistemine (ornegin `~/code/` altina) klonlayip OpenCode'u orada calistirmayi dusunun. +::: + +--- + +## Ipuclari + +- Windows suruculerinde duran projelerde OpenCode'u WSL icinde calistirin - dosya erisimi daha sorunsuz olur +- Butunlesik bir gelistirme akisi icin OpenCode ile birlikte VS Code [WSL eklentisini](https://code.visualstudio.com/docs/remote/wsl) kullanin +- OpenCode konfigurasyonunuz ve oturumlariniz WSL ortaminda `~/.local/share/opencode/` konumunda saklanir |
