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 commands

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