diff options
| author | Mani Sundararajan <[email protected]> | 2025-09-16 03:40:19 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-16 03:40:19 -0400 |
| commit | 15df2710fabebb70662e94a39b74dae419dc30d6 (patch) | |
| tree | 2937b525b80aa6a240c450ced1dc80c0985eda59 /packages/web/src/content/docs | |
| parent | 02e492f6eb92ef1826cfee782be0cdfe0eec9dda (diff) | |
| download | opencode-15df2710fabebb70662e94a39b74dae419dc30d6.tar.gz opencode-15df2710fabebb70662e94a39b74dae419dc30d6.zip | |
fix(windows): force npm cmd shim generation and update install docs (#2558)
Co-authored-by: Dax <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Diffstat (limited to 'packages/web/src/content/docs')
| -rw-r--r-- | packages/web/src/content/docs/index.mdx | 29 | ||||
| -rw-r--r-- | packages/web/src/content/docs/troubleshooting.mdx | 2 |
2 files changed, 29 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/index.mdx b/packages/web/src/content/docs/index.mdx index e57b4b1f4..293950eb0 100644 --- a/packages/web/src/content/docs/index.mdx +++ b/packages/web/src/content/docs/index.mdx @@ -62,7 +62,34 @@ You can also install it with the following: #### Windows -Currently, the automatic installation methods do not work properly on Windows. However you can grab the binary from the [Releases](https://github.com/sst/opencode/releases). +- **Using Chocolatey** + + ```bash + choco install opencode + ``` + +- **Using WinGet** + + ```bash + winget install opencode + ``` + +- **Using Scoop** + + ```bash + scoop bucket add extras + scoop install extras/opencode + ``` + +- **Using NPM** + + ```bash + npm install -g opencode-ai + ``` + +Support for installing opencode on Windows using the bun package manager is currently in progress. + +You can also grab the binary from the [Releases](https://github.com/sst/opencode/releases). --- diff --git a/packages/web/src/content/docs/troubleshooting.mdx b/packages/web/src/content/docs/troubleshooting.mdx index b846bed2d..57fbfe088 100644 --- a/packages/web/src/content/docs/troubleshooting.mdx +++ b/packages/web/src/content/docs/troubleshooting.mdx @@ -13,7 +13,7 @@ that it stores locally. Log files are written to: - **macOS/Linux**: `~/.local/share/opencode/log/` -- **Windows**: `%APPDATA%\opencode\log\` +- **Windows**: `%USERPROFILE%\.local\share\opencode\log\` Log files are named with timestamps (e.g., `2025-01-09T123456.log`) and the most recent 10 log files are kept. |
