mora-cli
v1.1.0
Published
Mora AI — Headless CLI client. Autonomous workspace engineering from your terminal.
Downloads
130
Maintainers
Readme
Mora CLI
Headless autonomous workspace engineering for any terminal — identical capabilities to the Mora Desktop IDE, VS Code extension, and IntelliJ plugin.
Installation
npm install -g @mora/cliOr build from source:
git clone <repo>
cd mora-cli
npm install
npm run build
npm linkQuick Start
# 1. Authenticate with your Mora cloud account
mora login
# 2. Start a streaming AI chat session
mora chatCommands
| Command | Description |
|---|---|
| mora login | Sign in with your Mora credentials |
| mora logout | Clear your local session |
| mora chat | Start an interactive AI chat session |
| mora chat -p <projectId> | Chat attached to a specific project |
| mora chat -m <modelId> | Override the AI model for this session |
| mora chat -a <agentId> | Attach a deployed agent to the session |
| mora status | Show current session and API status |
| mora projects | List and set your active project |
| mora agents | List and attach intelligence agents |
| mora models | Browse available AI models and set default |
Chat Commands (inside session)
| Input | Action |
|---|---|
| Any message | Send to Mora AI with streaming response |
| /clear | Clear conversation history |
| /status | Show active model, project, agent |
| /exit or /quit | End the session |
| Ctrl+C | Exit immediately |
Tool Execution
Mora CLI automatically executes AI-issued tool calls locally in your working directory:
read_file— Read file contentwrite_file— Write or create fileslist_directory— List directory contentsrun_command— Execute shell commandssearch_file— Search for patterns in filescreate_directory— Create directoriesdelete_file— Delete files
Configuration
Credentials and preferences are stored securely in your system's app data directory via the conf package.
~/.config/mora-cli/config.json (Linux)
~/Library/Preferences/mora-cli/ (macOS)
%APPDATA%\mora-cli\ (Windows)