@@ -43,17 +43,17 @@ curl -fsSL https://raw.githubusercontent.com/charmbracelet/crush/refs/heads/main
43### Using Homebrew (macOS and Linux)
43### Using Homebrew (macOS and Linux)
46−brew install opencode-ai/tap/opencode
46+brew install crush-ai/tap/crush
49### Using AUR (Arch Linux)
49### Using AUR (Arch Linux)
52# Using yay
52# Using yay
53−yay -S opencode-ai-bin
53+yay -S crush-ai-bin
55# Using paru
55# Using paru
56−paru -S opencode-ai-bin
56+paru -S crush-ai-bin
59### Using Go
59### Using Go
@@ -66,9 +66,9 @@ go install github.com/charmbracelet/crush@latest
67OpenCode looks for configuration in the following locations:
67OpenCode looks for configuration in the following locations:
69−- `$HOME/.opencode.json`
69+- `$HOME/.crush.json`
70−- `$XDG_CONFIG_HOME/opencode/.opencode.json`
70+- `$XDG_CONFIG_HOME/crush/.crush.json`
71−- `./.opencode.json` (local directory)
71+- `./.crush.json` (local directory)
73### Auto Compact Feature
73### Auto Compact Feature
@@ -130,7 +130,7 @@ This is useful if you want to use a different shell than your default system she
132 "data": {
132 "data": {
133− "directory": ".opencode"
133+ "directory": ".crush"
135 "providers": {
135 "providers": {
136 "openai": {
136 "openai": {
@@ -248,13 +248,13 @@ OpenCode supports a variety of AI models from different providers:
250# Start OpenCode
250# Start OpenCode
253# Start with debug logging
253# Start with debug logging
254−opencode -d
254+crush -d
256# Start with a specific working directory
256# Start with a specific working directory
257−opencode -c /path/to/project
257+crush -c /path/to/project
260## Non-interactive Prompt Mode
260## Non-interactive Prompt Mode
@@ -263,13 +263,13 @@ You can run OpenCode in non-interactive mode by passing a prompt directly as a c
265# Run a single prompt and print the AI's response to the terminal
265# Run a single prompt and print the AI's response to the terminal
266−opencode -p "Explain the use of context in Go"
266+crush -p "Explain the use of context in Go"
268# Get response in JSON format
268# Get response in JSON format
269−opencode -p "Explain the use of context in Go" -f json
269+crush -p "Explain the use of context in Go" -f json
271# Run without showing the spinner (useful for scripts)
271# Run without showing the spinner (useful for scripts)
272−opencode -p "Explain the use of context in Go" -q
272+crush -p "Explain the use of context in Go" -q
275In this mode, OpenCode will process your prompt, print the result to standard output, and then exit. All permissions are auto-approved for the session.
275In this mode, OpenCode will process your prompt, print the result to standard output, and then exit. All permissions are auto-approved for the session.
@@ -419,26 +419,26 @@ Custom commands are predefined prompts stored as Markdown files in one of three
4191. **User Commands** (prefixed with `user:`):
4191. **User Commands** (prefixed with `user:`):
422− $XDG_CONFIG_HOME/opencode/commands/
422+ $XDG_CONFIG_HOME/crush/commands/
425− (typically `~/.config/opencode/commands/` on Linux/macOS)
425+ (typically `~/.config/crush/commands/` on Linux/macOS)
430− $HOME/.opencode/commands/
430+ $HOME/.crush/commands/
4332. **Project Commands** (prefixed with `project:`):
4332. **Project Commands** (prefixed with `project:`):
436− <PROJECT DIR>/.opencode/commands/
436+ <PROJECT DIR>/.crush/commands/
439Each `.md` file in these directories becomes a custom command. The file name (without extension) becomes the command ID.
439Each `.md` file in these directories becomes a custom command. The file name (without extension) becomes the command ID.
441−For example, creating a file at `~/.config/opencode/commands/prime-context.md` with content:
441+For example, creating a file at `~/.config/crush/commands/prime-context.md` with content:
443```markdown
443```markdown
444RUN git ls-files
444RUN git ls-files
@@ -472,7 +472,7 @@ When you run a command with arguments, OpenCode will prompt you to enter values
472You can organize commands in subdirectories:
472You can organize commands in subdirectories:
475−~/.config/opencode/commands/git/commit.md
475+~/.config/crush/commands/git/commit.md
478This creates a command with ID `user:git:commit`.
478This creates a command with ID `user:git:commit`.
@@ -614,13 +614,13 @@ You can also configure a self-hosted model in the configuration file under the `
615# Clone the repository
615# Clone the repository
616git clone https://github.com/charmbracelet/crush.git
616git clone https://github.com/charmbracelet/crush.git
617−cd opencode
617+cd crush
620−go build -o opencode
620+go build -o crush
623−./opencode
623+./crush
626## Acknowledgments
626## Acknowledgments