Installation
npm Package Installation (Recommended)
Cross-Platform Installation
- npm
- yarn
- pnpm
- bun
Benefits
Why npm installation?
Why npm installation?
- ✅ Cross-platform compatibility
- ✅ Automatic PATH configuration
- ✅ Auto-creates config files via postinstall script
- ✅ Easy updates:
npm update -g @kaitranntt/ccs - ✅ Clean uninstall:
npm uninstall -g @kaitranntt/ccs - ✅ Version pinning support
What happens during install?
What happens during install?
- npm downloads and installs the package
- Postinstall script creates
~/.ccs/config.jsonand~/.ccs/glm.settings.json - npm creates
ccscommand in your PATH
If you use
npm install --ignore-scripts, config files won’t be created. Run without that flag or use npm install -g @kaitranntt/ccs --force.What Gets Installed
Configuration Directory (~/.ccs/):
Requirements
macOS / Linux
- bash 3.2+
- Node.js 14+
- Claude CLI
Windows
- PowerShell 5.1+ (pre-installed on Windows 10+)
- Node.js 14+
- Claude CLI
Windows Claude Detection
Available since v7.36.0 - Enhanced Windows Claude CLI detection with fallback paths.
- Windows native installer (AppData)
- Local bin fallback paths
- npm global installation
- Environment variable override
~ to full user profile path for compatibility.
Manual Override:
If detection fails, set environment variable:
Upgrading
Uninstalling
This removes the CCS command but preserves your
~/.ccs/ configuration directory.