Installation
Requirements
Before installing ccremote, make sure you have the following requirements:
Node.js
ccremote requires Node.js 20.19.4 or higher.
Check your version:
node --versionIf you need to install or upgrade Node.js:
- macOS: Use Homebrew:
brew install node - Linux: Use your package manager or NodeSource
- Windows: Download from nodejs.org
tmux
ccremote uses tmux for session management.
macOS Important Note ⚠️
macOS ships with tmux 3.3a which has a critical bug causing crashes when mouse mode is enabled. You must install the latest version:
# Install latest tmux via Homebrew
brew install tmux
# Verify you have the latest version (4.0+)
tmux -VOther Platforms
- Linux:
sudo apt install tmux(Ubuntu/Debian) orsudo yum install tmux(RHEL/CentOS) - Windows: Use WSL2 with tmux installed inside
Discord Account
You'll need a Discord account to create a bot for notifications. The setup process is covered in the Discord Setup guide.
Install ccremote
Global Installation (Recommended)
Install ccremote globally so you can use it from anywhere:
# Using npm
npm install -g ccremote
# Using bun (faster)
bun install -g ccremoteLocal Installation
If you prefer to install locally in a project:
# Using npm
npm install ccremote
# Using bun
bun add ccremoteWith local installation, run commands using npx:
npx ccremote init
npx ccremote startVerify Installation
Check that ccremote is installed correctly:
ccremote --versionYou should see the version number displayed.
Development Installation
If you want to contribute to ccremote or run the latest development version:
# Clone the repository
git clone https://github.com/generativereality/ccremote.git
cd ccremote
# Install dependencies
bun install
# Run from source
bun run dev --help
# Or build and link globally
bun run build
npm linkNext Steps
Now that ccremote is installed:
- Quick Start - Get up and running with the interactive setup
- Discord Setup - Create your Discord bot for notifications
- Configuration - Learn about configuration options
Troubleshooting
Command Not Found
If you get "command not found" after global installation:
- Check your PATH: Make sure your npm/bun global bin directory is in your PATH
- Restart terminal: Close and reopen your terminal
- Check installation location:bash
# npm npm list -g ccremote # bun bun pm ls -g | grep ccremote
Permission Errors
If you get permission errors during global installation:
# macOS/Linux: Use sudo (not recommended, use nvm instead)
sudo npm install -g ccremote
# Better: Use nvm to manage Node.js without sudo
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install node
npm install -g ccremotetmux Issues
If tmux commands fail:
- Check tmux is installed:
tmux -V - macOS users: Make sure you installed the latest tmux via Homebrew
- Permission issues: Make sure your user can create tmux sessions
Still Having Issues?
Check our Troubleshooting guide or open an issue on GitHub.