RelayPlane CLI - Command-line interface for workflow management and cloud integration
Command-line interface for RelayPlane - AI model routing, cost estimation, and diagnostics.


``bash`
npm install -g @relayplane/cli
Or use npx:
`bash`
npx @relayplane/cli
`bash`
relay login # Authenticate with RelayPlane Cloud (device OAuth)
relay logout # Clear credentials and disconnect
relay status # Show CLI status and cloud connection
relay workflows # List all workflows in current project
relay sync # Sync local workflows with RelayPlane Cloud
relay dashboard # Open the cloud dashboard in browser
`bash`
relay login
This opens a browser for device authentication. Once authorized, your CLI is connected to RelayPlane Cloud.
`bash`
relay status
Shows your connection status, authenticated user, and project info.
`bash`
relay sync
Discovers local workflow files and syncs them with the cloud for monitoring and analytics.
`bash`
relay dashboard
Opens the RelayPlane dashboard in your browser to view runs, costs, and analytics.
The CLI stores configuration at ~/.relayplane/:
- config.json - User preferences and settingscredentials.json
- - Authentication tokens (keep private!)
| Variable | Description |
|----------|-------------|
| RELAY_API_HOST | API host (default: https://api.relayplane.com) |RELAY_TELEMETRY
| | Enable/disable telemetry (true/false) |
`typescript
import { getConfig, saveConfig } from '@relayplane/cli';
// Read current config
const config = await getConfig();
console.log(config.apiHost);
// Update config
await saveConfig({ ...config, telemetry: false });
``
- @relayplane/proxy - Intelligent AI model routing proxy
- @relayplane/sdk - SDK for workflow execution
- Website: https://relayplane.com
- Documentation: https://relayplane.com/docs
- GitHub: https://github.com/RelayPlane/cli
- npm: https://www.npmjs.com/package/@relayplane/cli
MIT