Step 1: Install
kane-cli --version prints a version number, you are ready. See Installation for platform requirements and troubleshooting.
Step 2: Authenticate
- OAuth (Recommended)
- Basic Auth
- CI/CD
~/.testmuai/kaneai/profiles/.Step 3: Open the TUI
Runkane-cli --tui:
KANE CLI building up next to it in block letters. A grey footer below shows which profile you are logged in as. After the animation, you land at a chat prompt. A status bar at the bottom shows your model, session ID, environment, and run count.
/, which are slash commands such as /help, /config, /cancel, and /exit.
Step 4: Run Your First Test
At the chat prompt, type a natural-language objective and press Enter:Ctrl+C once. Pressing it twice exits Kane CLI.
Step 5: Or Run from the Command Line
For scripting and CI, skip the TUI and use therun subcommand:
Capture results in a shell script:
What Happens at the End of a Run
When the session ends, Kane CLI uploads the run to Test Manager and prints a share link. It also saves the run as a sealed evidence pack: screenshots, logs, and results in one file. When Kane CLI offers to open it, you can view the pack in the browser viewer. For details on the upload, share links, and the run mode toggle, see Test Manager Integration. To change settings like window size, Chrome profile, or the active project and folder, see Configuration.Next Steps
- Writing Objectives: Learn the three patterns: actions, assertions, extractions
- Modes of Operation: Understand Interactive TUI, Headless CLI, and Agent Mode
- Authentication: Manage profiles and credential methods
- Evidence Packs: What every run captures and how to open it in the viewer
- Configuration: Window size, Chrome profile, and the active project and folder
- Variables & Context: Parameterize tests with credentials and project-specific context
- Mobile Testing: Point the same objective at an Android Emulator or iOS Simulator
- CI/CD Integration: Add Kane CLI to your pipeline