Sign-in and projects
CLI commands to sign in, connect an app, and manage teams and projects.
These commands sign the CLI in, connect an app, and choose, open and manage teams and projects. CLI explains how sign-in and project selection work.
Sign in and connect
| Command | What it does | Key flags |
|---|---|---|
init | Connects an app to a project: config file, SDK client and types. | |
login | Signs in by confirming a code in your browser. | --read-only, --no-browser |
logout | Signs out on this computer and ends the session on the server. | |
whoami | Shows who the CLI is signed in as, and the teams and projects it can use. | --json |
auth login, auth logout and auth status are the same as login, logout and whoami.
Teams and projects
| Command | What it does | Key flags |
|---|---|---|
status | The project that applies here, its store, product, SDK event and webhook health, and what to do next. | |
link [project] | Makes a project this directory's, and its subdirectories'. | |
unlink | Removes this directory's link. | |
switch [project] | Chooses your default project, used outside linked directories. | |
open [page] [item] | Opens a Studio page of the project. | --no-browser prints the address |
org list | Your teams and their projects. | |
org create [name] | Creates a team with you as its owner. | |
org edit [team] | Renames a team or changes its logo. Its slug never changes. | --name, --logo <file>, --remove-logo |
org delete [team] | Deletes a team with all its projects and data. Asks you to type its name. | |
project list | A team's projects. | --org |
project create [name] | Creates a project with its production and test publishable keys. | --org, --switch makes it your default |
project edit [project] | Renames a project or changes its logo. Its slug never changes. | --name, --logo <file>, --remove-logo |
project delete [project] | Deletes a project and everything in it. Asks you to type its name. |
Logos are PNG, JPEG or WebP images of up to 2 MB.
In Studio, the same changes live in Settings; see Teams, projects and environments.
open takes overview (the default), products, perks, persons, flags, experiments,
paywalls, locations, components, events, event-settings, analytics, ads,
ad-accounts, campaigns, creatives, cohorts, webhooks, providers, keys,
notifications, settings, domains, sandbox or push. product, person, flag,
experiment, paywall, location, webhook and provider open one item.
Example
voidhash login --no-browser
voidhash open product pro_monthlyNext steps
- People and access: find people and explain their access.
- Team and settings: members, project settings and keys.
- CLI: sign-in, scripting and exit codes.
Something wrong or missing on this page? Tell us by email or on Discord.