Commands¶
Complete reference for all Aethr CLI commands.
Overview¶
Run aethr without arguments for interactive mode.
init¶
Initialize Aethr database and configuration.
Creates:
~/.aethr/aethr.db— SQLite database for command history~/.aethr/config.yaml— Configuration file
Run this once after installation.
import¶
Import existing shell history into the database.
Reads from:
~/.bash_history(Bash)~/.zsh_history(Zsh)~/.aethr/commands.log(auto-saved commands)
Shows a progress spinner while importing.
recall¶
Search your command history using natural language.
Arguments:
query— Natural language search query
Examples:
fix¶
Get fixes for terminal errors.
Arguments:
error— Error message text
Examples:
aethr fix "permission denied"
aethr fix "address already in use :3000"
aethr fix "command not found: node"
Uses the 3-layer resolution system: deterministic rules → Community Brain → LLM fallback.
hook¶
Manage shell integration for automatic command logging.
Arguments:
shell— Shell type:bashorzsh(auto-detected if omitted)
Options:
--install— Add hook to shell config file
Examples:
# Install hook automatically
aethr hook --install
# Print hook for manual installation
aethr hook bash
aethr hook zsh
login¶
Authenticate with your Aethr token.
Arguments:
token— Your authentication token
Get a token from console.aethr-ai.dev.
status¶
Check Aethr configuration and status.
Shows:
- Database location and size
- Command count
- Auto-save status
- Authentication status
Interactive Mode¶
Run aethr without arguments:
Available commands in interactive mode:
| Command | Description |
|---|---|
/recall <query> |
Search command history |
/fix <error> |
Fix an error |
/import |
Import shell history |
/init |
Initialize database |
/status |
Show status |
/login <token> |
Authenticate |
/help |
Show help |
/exit |
Exit |
Global Options¶
| Option | Description |
|---|---|
-h, --help |
Print help |
-V, --version |
Print version |