|
|
@@ -82,7 +82,7 @@ The install script respects the following priority order for the installation pa
|
|
|
|
|
|
1. `$OPENCODE_INSTALL_DIR` - Custom installation directory
|
|
|
2. `$XDG_BIN_DIR` - XDG Base Directory Specification compliant path
|
|
|
-3. `$HOME/bin` - Standard user binary directory (if exists or can be created)
|
|
|
+3. `$HOME/bin` - Standard user binary directory (if it exists or can be created)
|
|
|
4. `$HOME/.opencode/bin` - Default fallback
|
|
|
|
|
|
```bash
|
|
|
@@ -95,20 +95,20 @@ XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
|
|
|
|
|
|
OpenCode includes two built-in agents you can switch between with the `Tab` key.
|
|
|
|
|
|
-- **build** - Default, full access agent for development work
|
|
|
+- **build** - Default, full-access agent for development work
|
|
|
- **plan** - Read-only agent for analysis and code exploration
|
|
|
- Denies file edits by default
|
|
|
- Asks permission before running bash commands
|
|
|
- Ideal for exploring unfamiliar codebases or planning changes
|
|
|
|
|
|
-Also, included is a **general** subagent for complex searches and multistep tasks.
|
|
|
+Also included is a **general** subagent for complex searches and multistep tasks.
|
|
|
This is used internally and can be invoked using `@general` in messages.
|
|
|
|
|
|
Learn more about [agents](https://opencode.ai/docs/agents).
|
|
|
|
|
|
### Documentation
|
|
|
|
|
|
-For more info on how to configure OpenCode [**head over to our docs**](https://opencode.ai/docs).
|
|
|
+For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/docs).
|
|
|
|
|
|
### Contributing
|
|
|
|
|
|
@@ -116,7 +116,7 @@ If you're interested in contributing to OpenCode, please read our [contributing
|
|
|
|
|
|
### Building on OpenCode
|
|
|
|
|
|
-If you are working on a project that's related to OpenCode and is using "opencode" as a part of its name; for example, "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
|
|
|
+If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
|
|
|
|
|
|
### FAQ
|
|
|
|
|
|
@@ -125,11 +125,11 @@ If you are working on a project that's related to OpenCode and is using "opencod
|
|
|
It's very similar to Claude Code in terms of capability. Here are the key differences:
|
|
|
|
|
|
- 100% open source
|
|
|
-- Not coupled to any provider. Although we recommend the models we provide through [OpenCode Zen](https://opencode.ai/zen); OpenCode can be used with Claude, OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
|
|
|
-- Out of the box LSP support
|
|
|
+- Not coupled to any provider. Although we recommend the models we provide through [OpenCode Zen](https://opencode.ai/zen), OpenCode can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
|
|
|
+- Out-of-the-box LSP support
|
|
|
- A focus on TUI. OpenCode is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
|
|
|
-- A client/server architecture. This for example can allow OpenCode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.
|
|
|
+- A client/server architecture. This, for example, can allow OpenCode to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients.
|
|
|
|
|
|
---
|
|
|
|
|
|
-**Join our community** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode)
|
|
|
+**Join our community** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode)
|