The era command: Era from the terminal
Reach business records, files and memory from a chat's terminal in Era Desktop — with your permissions, under the same rules.
era is the command that reaches business records, files and memory from the terminal. When a chat starts, Era Desktop puts it in that chat's working folder (.era/bin); the chat's AI tool and the chat's terminal use it directly. It is not available in every terminal on your computer.
$ era tools overview · records · message · document · file · memory · brain … $ era records find customer --q "Demo" --limit 3 ✓ Demo Company
No install, no sign-in
era is added to every chat by itself. There is no separate install or era login step.
Start
era --help
era tools
era overview --text
era records find customer --q "Demo" --limit 20era tools shows the tools you may use right now and the inputs of each. Your role, the modules that are on and approvals apply in the terminal too; the terminal does not get around them. Web users can perform the same work through Era chat.
Complete command list
| Command | Job |
|---|---|
overview | Current business state. |
records find/create/update/archive | Find/count, create, change, remove. |
message send | Message or private draft. |
document create/issue | Draft or issue/send invoices/quotes. |
meeting schedule | Calendar meeting. |
numbers | Business metrics and periods. |
free-times | Available booking times. |
site edit/publish | Draft changes and approved publication. |
file save/get/import | Save to Era Files, download, import rows. |
open | Open record/list/file/page beside chat. |
memory save/forget | Remember or forget. |
brain search/graph | Sourced knowledge and relationships. |
skill save | Propose a procedure. |
approvals decide | Apply the person's approval/decline decision. |
work status | Background-job result. |
turn report | Actual writes in this turn. |
run | Any permitted action by exact name. |
places search | Google Maps businesses. |
visuals make | Generate/edit images on supported engines. |
pc act | Remote computer work; may be absent locally. |
tools | Live permitted catalogue. |
Prefix every row with era. The generated CLI reference and MCP schemas detail inputs.
Input rules
Use flat --field value flags; dashed names like --due-date are read as dueDate. JSON supports --json @input.json, --json '{"type":"customer"}' or stdin with --json -. Files/stdin reduce shell quoting mistakes. Structured fields such as items, ids, where, lines and args expect JSON. Numeric fields accept numbers; fields like draft, told and always take true/false.
era records create customer --json @customers.json
era brain search "delivery terms"
era brain graph "Demo Company"
era file save "./report.xlsx"
era file get --file-id "FILE_ID"
era file import "./demo.csv" --target table --title "Demo"
era run --action crm.update_lead --json @update.json
era turn report --textJSON arrays map to items for create/update/run/approvals and ids for archive. Some commands accept one positional value: record type, path, query, surface or job ID. Bare --text selects readable output; supply a tool's text field through JSON or --text="message". Default output is compact JSON.
Move local files into Era Files
file save resolves and uploads paths; large files can return a one-time upload command. Complete it and use the returned ID. file get returns a short-lived download URL/command; execute it to download. file import saves first and imports to crm / table / dashboard; complete any upload command first. Files appear in Files › Era on web.
Exit codes and retries
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Invalid arguments/input |
| 3 | Missing/expired session |
| 4 | Permission/approval refusal |
| 5 | Failed/partial operation |
| 6 | Connection/protocol failure |
| 7 | Timeout |
Calls are never retried automatically: a disconnected write may have succeeded. Inspect records or turn report before repeating.
Session values are secrets
The command runs with the chat's ERA_CLI_URL and ERA_CLI_TOKEN. Never write these values into a document, a chat or your command history.