A CLI tool to quickly configure AI development tools and environments.
pnpx @gengjiawen/os-init set-cc <API_KEY>Configures Claude Code Router with your API key. This command will:
- Write
~/.claude-code-router/config.json - Write
~/.claude/settings.json - Install global tools:
@anthropic-ai/claude-code,@musistudio/claude-code-router
pnpx @gengjiawen/os-init set-codex <API_KEY>Configures Codex CLI with your API key. This command will:
- Write
~/.codex/config.toml - Write
~/.codex/auth.json - Install global tool:
@openai/codex
pnpx @gengjiawen/os-init set-raycast-ai <API_KEY>Configures Raycast AI providers with your API key. This command will:
- Write
~/.config/raycast/ai/providers.yaml
pnpx @gengjiawen/os-init set-dev <SSH_PUBLIC_KEY>Sets up a Docker-based development environment with SSH access. This command will:
- Copy
dev-setupdirectory to your current directory (or specify with-t, --target <dir>) - Configure SSH public key in Dockerfile
- Automatically run
docker-compose build && docker-compose up -d(if docker-compose is available) - Display SSH connection command with your local IP address
Example:
pnpx @gengjiawen/os-init set-dev "ssh-rsa AAAAB3NzaC1yc2..."Project generated by gengjiawen/ts-scaffold