CLI
The eidos CLI provides a command-line interface for interacting with Eidos Desktop. It is designed for automation, AI agents, and power users who prefer terminal-based workflows.
Design Philosophy
Section titled “Design Philosophy”The CLI treats your Eidos space as a filesystem:
- Documents are files you can read (
cat), create (touch), and modify (append) - Folders are directories you can navigate (
ls) and create (mkdir) - Tables are queryable data stores accessible via SQL
- External directories can be mounted and accessed via
/@/<name>/paths
This design allows you to use familiar Unix-style commands to manage your personal data.
Installation
Section titled “Installation”The CLI is bundled with Eidos Desktop:
- Open Eidos Desktop
- Press
Cmd/Ctrl + Kto open Command Palette - Type “install eidos” and select “Install ‘eidos’ command in PATH”
Verify with eidos status.
Space Selection
Section titled “Space Selection”The CLI automatically detects your space based on the current directory. When inside a space directory, commands automatically target that space.
For other locations, use the -s <space> flag to specify a space explicitly.
Key Capabilities
Section titled “Key Capabilities”Filesystem-Style Operations
Section titled “Filesystem-Style Operations”Manage nodes using familiar commands: ls, cat, mkdir, touch, mv, rm, append. Nodes are addressed by paths like projects/roadmap when name uniqueness is enabled.
External Directory Mounts
Section titled “External Directory Mounts”Mount local directories to access them via /@/<mount-name>/ paths within Eidos. This is useful for large files (media libraries, document collections) that you don’t want to store in the synchronized .eidos directory.
SQL Queries
Section titled “SQL Queries”Execute read-only SQL queries directly against your space’s SQLite database for advanced data extraction.
Extension Deployment
Section titled “Extension Deployment”Deploy blocks and scripts from local files without using the GUI. The CLI detects file types (.tsx for JSX components, .ts for pure scripts) and handles compilation automatically.
AI-Optimized Output
Section titled “AI-Optimized Output”Use --format json for machine-readable output, enabling easy integration with AI agents and automation scripts.
Documentation
Section titled “Documentation”- CLI How-To Guide - Common workflows and examples
- CLI API Reference - Complete command reference
- Node API Reference - Understanding node structures