Skip to main content

jstm login

Sign in. There are three modes.
Opens your browser to a verification page showing a user code, then polls until you approve. This is the same device flow used by gh and similar tools.If you can’t open a browser — a remote shell, a container — add --no-browser and the CLI prints the URL and code for you to open elsewhere.
On success, your session is written to session.json with 0600 permissions. See Configuration for where that file lives.
In CI, set JOYSTREAM_TOKEN instead of logging in. It takes precedence over the session file.

jstm logout

Clear the stored session.

jstm whoami

Show the current user and workspace context. This is the fastest way to confirm you’re signed in and pointed at the right workspace.
If it reports a session problem, run jstm login again.

jstm auth apps

Apps such as Claude Code or Codex can use your JoyStream account through the JoyStream MCP server. Each one you approve becomes a connected app. These two commands show and revoke them.

auth apps list

Prints each connected app’s client name, client id, and when you granted access. A Last used column appears when any app has been used.

auth apps revoke

The app loses access at once and has to be approved again to reconnect. An unknown client id exits 1.

jstm commands

Print every command and subcommand as a table. Useful when you want the whole surface at once.
This command has no --json.