ElizaOS CLI Overview
Comprehensive guide to the ElizaOS Command Line Interface (CLI) tools and commands
ElizaOS CLI
The ElizaOS Command Line Interface (CLI) provides a comprehensive set of tools to create, manage, and interact with ElizaOS projects and agents.
Installation
Install the ElizaOS CLI globally using Bun:
Available Commands
Command | Description |
---|---|
create | Initialize a new project, plugin, or agent |
monorepo | Clone ElizaOS monorepo from a specific branch (defaults to develop) |
plugins | Manage ElizaOS plugins |
agent | Manage ElizaOS agents |
tee | Manage TEE deployments |
start | Start the Eliza agent with configurable plugins and services |
update | Update ElizaOS CLI and project dependencies |
test | Run tests for Eliza agent projects and plugins |
env | Manage environment variables and secrets |
dev | Start the project or plugin in development mode with auto-rebuild, detailed logging, and file change detection |
publish | Publish a plugin to the registry |
Global Options
These options apply to all commands:
Option | Description |
---|---|
--help , -h | Display help information |
--version , -v | Display version information |
--no-emoji | Disables emoji characters in the output |
--no-auto-install | Disables the automatic prompt to install Bun if it is not detected |
Examples
Getting Version Information
Project Structure
For detailed information about project and plugin structure, see the Quickstart Guide.
Environment Configuration
Configure your API keys and environment variables with the env
command:
Development vs Production
ElizaOS supports two main modes of operation:
Development Mode
Hot reloading, detailed error messages, and file watching for rapid development.
Production Mode
Optimized performance and production-ready configuration for deployment.
Quick Start
For a complete guide to getting started with ElizaOS, see the Quickstart Guide.
Creating a new project
Starting a project
Development mode
Working with Projects
ElizaOS organizes work into projects, which can contain one or more agents along with their configurations, knowledge files, and dependencies. The CLI provides commands to manage the entire lifecycle of a project:
- Create a new project with
create
- Configure settings with
env
- Develop using
dev
for hot reloading - Test functionality with
test
- Start in production with
start
- Share by publishing with
publish
Working with Plugins
Plugins extend the functionality of your agents. Use the plugins
command for managing plugins and publish
for publishing your own: