CLI Reference

The codmir CLI lets you manage projects, run agents, and interact with the Codmir platform from your terminal.

Installation

npm install -g codmir

Authentication

# Log in to your Codmir account
codmir login

# Check who you're logged in as
codmir whoami

# Log out
codmir logout

Project Management

# Link current directory to a Codmir project
codmir link

# Unlink from a project
codmir unlink

# Show project status
codmir status

Agent Mode

Running codmir without arguments enters the agent REPL for interactive AI-assisted development.

# Start agent REPL
codmir

# Check server health
codmir health

# View/update config
codmir config

Related