You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/content/advanced/troubleshooting.mdx
+8-25Lines changed: 8 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,14 @@ order: 1
9
9
10
10
[Open an issue](https://github.com/CodebuffAI/codebuff/issues) or check existing reports.
11
11
12
+
## Install Node
13
+
14
+
If you don't have `npm`, [get Node here](https://nodejs.org/en/download).
15
+
16
+
## Delete local cache
17
+
18
+
Codebuff stores files at `~/.config/manicode` including the binary `codebuff`. Sometimes deleting the binary and restarting codebuff will fix issues.
19
+
12
20
## Version
13
21
14
22
The latest version of the Codebuff client can be found on the [npm page](https://www.npmjs.com/package/codebuff).
@@ -17,10 +25,6 @@ Run `codebuff --version` to make sure you're on the latest version.
17
25
18
26
Codebuff should auto-update. If not, try the steps below.
19
27
20
-
## Codebuff not updating
21
-
22
-
If you see the npm install run but Codebuff still isn't at the latest version, this is most likely an issue with npm's cache. Try running `npm cache clean --force` and then `npm install -g codebuff`.
23
-
24
28
## Install failed
25
29
26
30
If `npm install -g codebuff` gave you an error regarding permissions, try using setting the owner of that directory to your user.
@@ -39,27 +43,6 @@ Include recent chats if you ask for help.
reject(new Error(`Websocket message with txid ${txid} timed out.`)); ^
49
-
50
-
Error: Websocket message with txid 32 timed out.
51
-
at Timeout._onTimeout (/Users/<youruser>/Library/pnpm/global/5/.pnpm/codebuff@someversion/node_modules/codebuff/dist/common/websockets/websocket-client.js:158:28)
52
-
at listOnTimeout (node:internal/timers:594:17)
53
-
at process.processTimers (node:internal/timers:529:7)
54
-
55
-
Node.js v22.12.0
56
-
```
57
-
58
-
it means you're having connection issues. In that case, try:
59
-
60
-
1. Check your internet connection.
61
-
2. Try logging out and back in with `logout` followed by `login`.
62
-
63
46
### Endless Auto-Updates
64
47
65
48
If Codebuff keeps trying to update itself in a loop, check the items below:
| Terminal commands | Claude Haiku 4.5, Grok 4.1 Fast |
37
+
| Web/docs research | Grok 4.1 Fast |
31
38
</MarkdownTable>
32
39
33
40
Max mode runs multiple implementations in parallel and picks the best one. Default mode runs a single implementation pass. Free mode uses MiniMax M2.5 and includes code review support.
Copy file name to clipboardExpand all lines: web/src/content/help/quick-start.mdx
+5-20Lines changed: 5 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,34 +27,19 @@ cd /path/to/your-repo
27
27
codebuff
28
28
```
29
29
30
-
Codebuff has multiple[modes](/docs/tips/modes): `plan`for planning without file changes, `max` for better results at higher cost and time. You can invoke them in the slash menu with `/mode`.
30
+
Check out the[modes](/docs/tips/modes)for using Codebuff, such as Free, Max, or Plan.
31
31
32
32
## 4. Initialize Your Project (Optional)
33
33
34
-
Run the `/init` command inside Codebuff to set up project-specific files:
35
-
36
-
```
37
-
/init
38
-
```
39
-
40
-
### What `/init` Creates
41
-
42
-
-`knowledge.md` — A starter file for documenting your project's setup commands, architecture, and coding conventions. Codebuff reads this to understand your project better.
43
-
-`.agents/types/` — TypeScript type definitions for creating custom agents.
44
-
45
-
### When to Use `/init`
34
+
Run the `/init` command inside Codebuff to set up project-specific files. Useful for:
46
35
47
36
-**New projects** — if you don't already have an AGENTS.md or CLAUDE.md (Codebuff will also read these files).
48
37
-**Building custom agents** — running /init is the first step to [creating your own agents](/docs/walkthroughs/creating-your-first-agent)!
49
38
50
39
## Troubleshooting
51
40
52
-
If you run into issues during installation:
53
-
54
-
1.**Permission issues** — The best fix is to install Node.js using [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm), which avoids permission problems entirely. Then run `npm install -g codebuff` again.
41
+
- Make sure you have [node installed](https://nodejs.org/en/download) (which includes npm).
55
42
56
-
2.**Still Having Problems?**
57
-
- On Mac/Linux, you can fix permissions with: `sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}`
58
-
- On Windows, run your terminal as administrator
43
+
- Try deleting the downloaded binary at `~/.config/manicode/codebuff` and restarting codebuff.
0 commit comments