#284·codebuff

The Codebuff CLI (codebuff command) doesn’t work

Author: Andy1996247Created Sep 12, 2025Updated Sep 30, 2026
Labelstype:bugarea:clineeds-infostalebot:triaged

What’s Happening The Codebuff CLI doesn’t work it just exits with no output, no errors, no prompt. Yesterday, it ran fine. Today, it’s doing nothing when I run codebuff or codebuff --version. I’ve tried a bunch of fixes, but it still doesn’t work. My System

OS: Ubuntu 24.04 Node: 20.19.5 (tried 22.15.0 before), using NVM NPM: 10.8.2 (with Node 20.19.5) Codebuff: Probably 1.0.485 (based on earlier install) NVM: Latest version

What I’ve Done

Installed Codebuff Globally:

Ran: npm install -g codebuff

It installed fine, said added 11 packages.

Checked the binary: ls -l /home/username/.nvm/versions/node/v20.19.5/bin/codebuff

It’s there, a symlink to ../lib/node_modules/codebuff/index.js with lrwxrwxrwx permissions.

Tried codebuff and codebuff --version, but nothing happens—no output.

Checked PATH:

Made sure the Node bin is in my PATH: echo $PATH | grep /home/username/.nvm/versions/node/v20.19.5/bin

It’s there.

Added NVM to ~/.bashrc: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"

Reloaded with source ~/.bashrc.

Reinstalled Codebuff:

Did this a few times: npm uninstall -g codebuff npm cache clean --force npm install -g codebuff

Binary shows up, but codebuff still doesn’t run

Switched Node Versions:

Was on Node 22.15.0, switched to 20.19.5: nvm install 20 nvm use 20 npm install -g codebuff

Same problem: codebuff does nothing.

Tried in a Project Directory:

Ran in my project folder with code files: cd ~/my project codebuff

Nothing.

Made a simple test folder: mkdir ~/test-codebuff cd ~/test-codebuff echo 'console.log("Hello World");' > index.js codebuff

Still nothing.

Tried Local Install:

Cloned the repo: git clone https://github.com/CodebuffAI/codebuff cd codebuff npm install

Got an error: EUNSUPPORTEDPROTOCOL about workspace:*. Didn’t work, so I stuck with the global install.

Tried Debugging:

Ran: DEBUG=* codebuff

No output.

Ran the script directly: node /home/username/.nvm/versions/node/v20.19.5/lib/node_modules/codebuff/index.js

Still nothing.

Login Context:

Yesterday, I logged into my Codebuff account througth the CLI, and codebuff worked fine. Today, it’s broken, and I don’t know why.

What I Expected When I run codebuff or codebuff --version, it should:

Show the version (like 1.0.485). Start the CLI with a prompt like “What would you like to build or edit?”.

What’s Happening Instead

codebuff and codebuff --version do nothing—just exit, no errors, no output.