Installation
Prerequisites
Node.js ≥ 18.0.0
Download from nodejs.org or use a version manager:
# Using nvm
nvm install 18
nvm use 18
# Using fnm
fnm install 18
fnm use 18AI Backend CLI
claudux supports Claude (default) and Codex as backends. Install at least one:
# Claude (default backend)
npm install -g @anthropic-ai/claude-code
claude # complete the CLI's sign-in flow
# Codex (alternative backend)
npm install -g @openai/codex
codex loginVerify your setup:
claudux check # shows active backend and CLI statusInstall Claudux
The supported Claudux release is distributed straight from GitHub. A legacy package may still exist on the public npm registry, but it is not the current 2.x release. Pick one of the GitHub-backed installation paths below.
Install script (Recommended)
The script clones the repo into ~/.local/share/claudux and symlinks bin/claudux onto your PATH:
# latest main
curl -fsSL https://raw.githubusercontent.com/firstbitelabsllc/claudux/main/install.sh | sh
# pin the current release
curl -fsSL https://raw.githubusercontent.com/firstbitelabsllc/claudux/v2.0.7/install.sh | CLAUDUX_REF=v2.0.7 sh- Tracks
mainby default — pin a branch, tag, or commit withCLAUDUX_REF. - Release notes: v2.0.7.
- Re-run any time to update in place (idempotent).
- Falls back to a tarball download if
gitis not present; still needs Node 18+.
Verify installation:
claudux --versionRun once without installing
npx github:firstbitelabsllc/claudux updatenpx fetches claudux from GitHub — no npm account, no global install.
Global install from GitHub
npm i -g github:firstbitelabsllc/clauduxFrom Source
git clone https://github.com/firstbitelabsllc/claudux.git
cd claudux
mkdir -p ~/.local/bin # ensure the target dir exists
ln -sf "$PWD/bin/claudux" ~/.local/bin/claudux # put it on your PATHEnvironment Check
Verify your environment is properly configured:
claudux checkThis command validates:
- Node.js version and availability
- Active backend (Claude or Codex)
- Backend CLI installation and authentication
- Documentation directory status
Example output:
🔎 Environment check
• Node: v18.17.0
• Backend: claude
• Claude CLI: installed
• Model: sonnet
• docs/: not present (will be created on first run)Troubleshooting
Backend CLI not found
# For Claude (default)
npm install -g @anthropic-ai/claude-code
claude
# For Codex
npm install -g @openai/codex
codex loginIf a global backend install fails with EACCES, use a Node version manager such as nvm or fnm instead of recursively changing system-directory ownership.
Node version issues
# Check version
node --version
# Update if needed
nvm install --ltsSee the troubleshooting guide for authentication, manifest, link, preview, and diagnostic failures.
Next Steps
Once installed, head to the commands guide to start generating documentation.