### Clone, install, and start development server Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Quick start commands to clone the repository, install dependencies, and start the development server. The app will be available at http://localhost:3000, with automatic port detection if the default is in use. ```bash # Clone the repository git clone https://github.com/opactorai/Claudable.git cd Claudable # Install all dependencies npm install # Start development server npm run dev ``` -------------------------------- ### Install Qwen Code Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Install the Qwen Code CLI globally via npm and verify the installation with 'qwen --version'. ```bash npm install -g @qwen-code/qwen-code@latest qwen --version ``` -------------------------------- ### Install Cursor CLI Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Install the Cursor CLI via curl and then log in with 'cursor-agent login'. ```bash curl https://cursor.com/install -fsS | bash cursor-agent login ``` -------------------------------- ### Install Codex CLI Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Install the Codex CLI globally via npm, then run 'codex' and log in with a ChatGPT account. ```bash npm install -g @openai/codex codex # login with ChatGPT account ``` -------------------------------- ### Install Claude Code Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Install the Claude Code CLI globally via npm, then run 'claude' and log in with '/login'. ```bash npm install -g @anthropic-ai/claude-code claude # then > /login ``` -------------------------------- ### Clean and reinstall dependencies Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Use when installation fails. Runs the clean script to remove dependencies, then reinstalls them with npm install. ```bash # Clean all dependencies and retry npm run clean npm install ``` -------------------------------- ### Database backup, reset, and clean commands Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Additional utility commands: db:backup creates a backup of the SQLite database, db:reset resets the database to initial state (deletes all data), and clean removes dependencies for a fresh install. ```bash npm run db:backup # Create a backup of your SQLite database # Use when: Before major changes or deployments # Creates: data/backups/cc_backup_[timestamp].db npm run db:reset # Reset database to initial state # Use when: Need fresh start or corrupted data # Warning: This will delete all your data! npm run clean # Remove all dependencies # Use when: Dependencies conflict or need fresh install # Removes: node_modules/, package-lock.json # After running: npm install to reinstall everything ``` -------------------------------- ### Desktop app commands (Electron) Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Commands to run, build, and package the desktop application for macOS, Windows, and Linux. ```bash # Development mode npm run dev:desktop # Build desktop app npm run build:desktop # Package for specific platforms npm run package:mac # macOS npm run package:win # Windows npm run package:linux # Linux ``` -------------------------------- ### Reinstall Claude Code without sudo Source: https://github.com/anymorph-ai/claudable/blob/main/README.md For permission issues, reinstalls Claude Code globally without sudo and with the --unsafe-perm=false flag to avoid root privileges. ```bash # Reinstall Claude Code without sudo npm install -g @anthropic-ai/claude-code --unsafe-perm=false ``` -------------------------------- ### Reset Prisma database (npm run prisma:reset) Source: https://github.com/anymorph-ai/claudable/blob/main/README.md Resets the Prisma database to match the latest schema. Use when upgrading from a previous version and encountering database errors. Warning: drops and recreates the local database, so back up data first. ```bash npm run prisma:reset ``` -------------------------------- ### Check current user and fix WSL file ownership Source: https://github.com/anymorph-ai/claudable/blob/main/README.md For Claude Code permission issues on Windows/WSL. First checks the current user, then changes ownership of the project directory to that user using sudo chown. ```bash # Check current user whoami # Change ownership of project directory to current user sudo chown -R $(whoami):$(whoami) ~/Claudable ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.