CLI Reference
The CrossCode CLI provides two commands: starting the tunnel server and logging in.
Commands
crosscode
Start the tunnel server.
crosscode
This launches a secure tunnel server that allows you to expose your local development environment.
crosscode login
Log in to your CrossCode account.
crosscode login
Authenticate with your CrossCode account to access your projects and settings.
Configuration
The CLI stores configuration in ~/.crosscoderc:
{
"apiKey": "your-api-key",
"apiUrl": "https://api.crosscode.dev"
}