Quickstart
This walkthrough takes a fresh installation from its first launch to a running agent session. Start in the repository you want Mjolnir to recognize:
cd path/to/your/repositorymj1. Complete first-run setup
Section titled “1. Complete first-run setup”On first launch, Mjolnir opens a terminal setup dialog and creates a named workspace. It looks for supported harness homes and existing credentials, detects the current GitHub repository when possible, and proposes every usable local container runtime as a target.
Review the detected profiles and targets before confirming. Mjolnir writes the result to your per-user config.toml in the operating system’s configuration directory; on a typical Linux installation it is ~/.config/mjolnir/config.toml. Nothing is provisioned remotely during this discovery step.
The normal dashboard then opens. Its session list, Conversation and Prompt regions, target capacity, and profile quota stay visible together.
You can revise every generated value later. See configuration for the file location and schema, profiles for harness credentials, and targets for execution environments.
2. Check the installation
Section titled “2. Check the installation”Exit or detach from the dashboard with Alt+Q, then run:
mj doctorFor machine-readable output, use:
mj doctor --jsonFix errors until the relevant profiles and targets report ready. If a harness profile needs authentication, run:
mj login --profile <profile-id>Claude Code profiles can use the long-lived setup-token flow:
mj login --profile <profile-id> --setup-tokenThe login command is profile-aware: it runs the correct harness authentication flow and stores credentials in that profile’s home. See profiles for isolation and authentication details, or troubleshooting if doctor still reports a failure.
3. Create a session
Section titled “3. Create a session”Launch mj again and press Alt+N from anywhere on the dashboard. The new-session wizard walks through:
- A harness profile.
- A target on which the session will run, including its resource size when that target is resizable.
- A project bundle, or an absolute project directory for a bare target.
- A final review, where supported targets can also receive attached directories.
Press Enter to confirm. Mjolnir provisions the selected target in the background, starts the harness, and returns focus to the Prompt pane when the session is ready. The Sessions pane shows launch progress and reports failures instead of freezing the interface.
See sessions for lifecycle and persistence, and targets for the differences between local, container, SSH, and EC2 execution.
4. Send the first prompt
Section titled “4. Send the first prompt”Type a message in the Prompt pane and press Enter. While the harness is working you can type another message and press Enter to queue it. Press Esc to cancel the active turn without stopping the session.
Useful controls for the first run:
| Key | Action |
|---|---|
Tab / Shift+Tab | Move through Sessions, Prompt, Targets, and Quota |
Page Up / Page Down | Scroll the transcript from any focus |
F1 | Open contextual help |
F2 | Open the searchable command palette |
Alt+N | Create another session |
Alt+Q | Detach this terminal |
The terminal surface guide covers pane sizing, the full composer keymap, the command palette, and ! shell commands.
5. Detach and reconnect
Section titled “5. Detach and reconnect”Press Alt+Q when you are ready to leave the terminal. Detaching closes only this dashboard: the daemon and sessions keep running, active turns continue, and queued prompts remain queued.
Reconnect with:
mjMjolnir reopens the session whose agent spoke most recently and places the cursor in its Prompt pane. To reach the same sessions from a browser, print the viewer address and access code with:
mj daemon statusSee the web viewer for browser and phone access. For workspace selection, scripting, daemon operations, and every command-line flag, use the CLI reference.