cc-pika-install
v1.0.9
Published
Universal Claude Code installer for all platforms
Maintainers
Readme
cc-pika-install
One-command installer for Claude Code with automatic custom configuration.
Before You Start
You need Node.js and Git installed on your computer first. If you've never installed them before, follow the full walkthrough in PREREQUISITES.md (5 minutes, beginner-friendly with screenshots-worth-of-detail).
Quick check — open a terminal (Command Prompt on Windows, Terminal on Mac) and run:
node -v
git --versionIf both commands print a version number (e.g. v20.11.1 and git version 2.43.0), you're ready. If either says "not recognized" or "command not found", go to PREREQUISITES.md first.
TL;DR for those in a hurry:
- Install Node.js LTS from https://nodejs.org (just click Next-Next-Finish)
- Install Git from https://git-scm.com/downloads (same — Next-Next-Finish)
- Restart your terminal, then continue to Quick Start below.
Quick Start
Make sure you've completed Before You Start —
node -vandgit --versionshould both work.
Recommended (Node.js + Git already installed)
npx cc-pika-installOn Linux/macOS, you may need sudo:
sudo npx cc-pika-installFallback (auto-installs Node.js + Git if missing)
Use this if you skipped the prerequisites and want the setup script to install everything for you.
Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/pikachuladiva-rgb/cc-pika-install/main/setup.sh | bashWindows: Open PowerShell as Administrator and run:
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/pikachuladiva-rgb/cc-pika-install/main/setup.bat' -OutFile "$env:TEMP\setup.bat"; Start-Process "$env:TEMP\setup.bat" -Verb RunAsNote: the fallback path is less reliable on macOS (it requires Homebrew) and may need a terminal restart on Windows. The manual prerequisites route is more robust.
What It Does
This installer automates the entire Claude Code setup process:
- ✅ Installs Claude Code globally via npm
- ✅ Prompts you for your API Base URL
- ✅ Prompts you for your API Key
- ✅ Creates
~/.claude/settings.jsonwith your configuration - ✅ Configures permissions and skips onboarding
After installation completes, simply run claude to start using Claude Code.
Requirements
- Node.js 18 or newer - Download here
- npm (comes with Node.js)
- sudo access (on Linux/macOS for global installation)
Step-by-Step Usage
Run the installer:
npx cc-pika-installEnter your API Base URL when prompted:
Enter API Base URL: https://your-api-endpoint.comEnter your API Key when prompted:
Enter your API key: sk-your-api-key-hereWait for installation to complete:
Installing Claude Code via npm... Configuring Claude Code... Configuration complete! Claude Code is ready to use.Start using Claude Code:
claude
Configuration
The installer creates ~/.claude/settings.json with:
- Custom API endpoint (ANTHROPIC_BASE_URL)
- Your API authentication token
- Bypass permissions mode enabled
- Onboarding steps skipped
Uninstallation
One-liner (recommended):
npx cc-pika-uninstallOn Linux/macOS you may need sudo:
sudo npx cc-pika-uninstallThis removes Claude Code (@anthropic-ai/claude-code) and the ~/.claude config directory. Node.js and Git are kept.
Troubleshooting
Permission denied error:
- Use
sudo npx cc-pika-installon Linux/macOS - Run as Administrator on Windows
Node.js not found:
- Install Node.js 18+ from https://nodejs.org/
License
MIT
