@yboard/cli) manages authentication, project setup, deployment, secrets, and logs.
Install
Option 1: Install via Claude Code Plugin
If you use Claude Code (or OpenAI Codex), install the Yboard plugin to get CLI access directly inside your AI coding agent. The plugin lets you log in and use all Yboard services without leaving your editor. Install the plugin from the repository:Option 2: Install globally with Bun
Commands
login
Authenticate with Yboard using device-code flow.~/.yboard/auth.json.
Options:
--code-only— Print the device code and verification URL as JSON, then exit. Useful for CI or headless environments.--device-code <code>— Poll for authentication using an existing device code.
logout
Remove stored credentials.whoami
Display the currently authenticated user.setup
Create a new project from the Yboard starter template.[directory]— Override the folder name (defaults to the template repo name).
- Verifies your subscription.
- Clones the private starter template.
- Removes
.gitand re-initializes. - Installs dependencies with
bun install.
init
Provision a database and secrets for the current project..yboard.json in your project root.
Must be run from a project directory. Requires authentication.
deploy
Build and deploy the application.--skip-db— Skip the database schema push step.
- Fetches the database URL from Yboard.
- Pushes the database schema using
drizzle-kit push. - Builds the application with
bun vite build. - Uploads client and server files to Yboard.
- Prints the deployment URL.
apps/web directory).
logs
View runtime logs for the deployed application.yboard deploy).
secrets
Manage application secrets (environment variables).secrets list
List all secret names for the current app.secrets set
Set one or more secrets.-f, --env-file <path>— Read secrets from a.envfile.
secrets delete
Delete a secret by name.Configuration
Global config
Auth credentials are stored at~/.yboard/auth.json.
The API endpoint defaults to https://worker.yboard.app/cli and can be overridden with the YBOARD_API_URL environment variable.
Project config
Project-level configuration is stored in.yboard.json at the project root:
yboard init and updated by yboard deploy.