Install and sign in
Install the CLI, create an instance profile, authenticate, and select a workspace.
Install
Install the npm wrapper, which downloads and verifies the matching release binary:
npm install -g @getopenpost/cliYou can also download the binary from GitHub Releases.
Sign in
Browser sign-in is the shortest path for an interactive shell:
openpost auth login https://app.openpo.stFor a headless shell, print the verification URL and code:
openpost auth login https://app.openpo.st --deviceFor CI, pass a developer token through stdin:
printf '%s\n' "$OPENPOST_TOKEN" | \
openpost auth login https://app.openpo.st --with-tokenThe CLI stores named instance profiles. Use them to keep Hosted, staging, and self-hosted credentials separate:
openpost instance add hosted https://app.openpo.st
openpost instance use hosted
openpost instance healthSelect a workspace
openpost workspace list
openpost workspace use personal
openpost account listThe selected workspace belongs to the active profile. You can override profile, instance, workspace, or token for one command with --profile, --instance, --workspace, or --token.
Connect new social accounts in the web app at <instance>/settings?tab=accounts. The CLI does not collect provider credentials.