Install the CLI
Install Theseus, sign in, choose a workspace, and keep it up to date.
The theseus CLI generates guides from your terminal, such as theseus generate example/project#42 --wait. The browser doesn't need it, and agents can reach Theseus without it through MCP. The CLI reference lists every command.
Install it on the machine where you or your agent will run its commands. A laptop installation does not install or sign in the CLI in a cloud workspace; see Cloud agents.
Requirements
Link to this sectionmacOS or Linux, Node.js 22.23.1 or later, and Git 2.41 or later. Windows isn't supported.
Install
Link to this sectionOpen Install Theseus, choose Get installation command, and run the command it shows. If the page says the command has expired, choose Get a new command first. The page names the version you'll get. The installer verifies the download, puts the theseus launcher in ~/.local/bin, and starts guided setup.
If ~/.local/bin isn't on your PATH, the installer prints the line to add, such as export PATH="$HOME/.local/bin:$PATH", and stops. Add it to your shell profile, open a new terminal, and run theseus setup.
Check the installation:
theseus --versionSign in
Link to this sectionGuided setup signs you in. To run it again, or finish it after an interruption:
theseus setupTo sign in only:
theseus loginEither command opens a browser and prints a verification code. Approve the sign-in once the browser shows the same code. If no browser opens, see Troubleshooting.
Set up each repository
Link to this sectionChoose a workspace
Link to this sectiontheseus workspace
theseus statusPick the workspace you work in, then check your account and workspace. To switch later, name the workspace:
theseus workspace example-teamUpdate
Link to this sectiontheseus updateThis installs the newest release available to your account and keeps your login. If your CLI is too old to have the command, install again from the installation page.
Other commands show a one-line reminder when an update is available.
Some accounts get preview releases. To follow the public release instead, run theseus update --channel stable. If a release is withdrawn and the channel goes back to an earlier version, your installed CLI stays as it is until you update.
Sign out
Link to this sectiontheseus logoutSigning out ends this machine's saved login. If the login comes from THESEUS_TOKEN, remove that variable from the parent environment, or use theseus logout --revoke to end the shared login for every instance.