@straion/cli
v0.0.14
Published
> **Note:** This CLI is currently in early access. Features may change and we appreciate your feedback. For questions or issues, please contact [[email protected]](mailto:[email protected]).
Readme
Straion CLI (Early Access)
Note: This CLI is currently in early access. Features may change and we appreciate your feedback. For questions or issues, please contact [email protected].
███████╗████████╗██████╗ █████╗ ██╗ ██████╗ ███╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██║██╔═══██╗████╗ ██║
███████╗ ██║ ██████╔╝███████║██║██║ ██║██╔██╗ ██║
╚════██║ ██║ ██╔══██╗██╔══██║██║██║ ██║██║╚██╗██║
███████║ ██║ ██║ ██║██║ ██║██║╚██████╔╝██║ ╚████║
╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝The Missing Piece for AI-Era Software Engineering at Scale
The Straion CLI provides command-line access to the Straion platform, enabling seamless integration with AI coding agents and developer workflows.
Installation
# npm
npm install -g @straion/cli
# pnpm
pnpm install -g @straion/cliRequirements
- Node.js 22.0.0 or higher
Quick Start
# Display the welcome screen (includes first-time setup wizard on first run)
straion
# Or authenticate with your Personal Access Token
# This stores login information securely and makes it available on your machine.
straion login
# Set up your coding agents to use Straion
straion setupCommands
| Command | Description |
| ------------------- | -------------------------------------------------------------------------------------------------- |
| straion | Display the welcome screen with status (first-time setup wizard on first run) |
| straion login | Authenticate with a Personal Access Token. Accepts --token <token> and --org <subdomain> flags.|
| straion logout | Log out and clear stored credentials |
| straion setup | Set up your coding agents to use Straion |
| straion switch | Switch your active organization. Accepts --org <subdomain> for non-interactive switching. |
| straion --help | Show all available commands |
| straion --version | Display the current version |
Authentication
The CLI uses Personal Access Tokens (PAT) for authentication. Credentials are securely stored in your system's keychain.
- Generate a PAT inside your user settings
- Run
straion loginand enter your token when prompted - Your credentials will be securely stored for future sessions
You can also authenticate using the STRAION_API_KEY environment variable:
Note: This will use your global organization or your default organization.
export STRAION_API_KEY=<your_personal_access_token>
straion login # Will use the environment variable automaticallyAgent Setup
The straion setup command helps you configure your coding agents to work with Straion. It downloads the necessary skills and plugins, then guides you through selecting which agents to configure.
Supported Agents
| Agent | Description | | -------------- | ---------------------------- | | Claude Code | Anthropic's CLI for Claude | | GitHub Copilot | GitHub's AI coding assistant | | Cursor | AI-powered code editor |
Run straion setup to interactively set up your preferred agents, or run straion for the first-time setup wizard which includes agent configuration.
Multi-Organization Support
If you belong to multiple organizations, the CLI allows you to switch between them:
# Interactive org selector
straion switch
# Direct switch by subdomain
straion switch --org <subdomain>The subdomain is the prefix of your organization URL (e.g. acme for acme.straion.app).
You can also select an organization during login:
straion login --org <subdomain>Learn More
Visit https://www.straion.com for additional information.
