Reference

CLI Commands

Complete reference for Stellarion CLI commands

Reference for all Stellarion command-line commands.

stellarion init

Initialize Stellarion for the current project.

stellarion init

What It Does

  • Detects project type and structure
  • Configures Claude Code MCP settings
  • Creates .stellarion/ directory

Options

stellarion init [path]
OptionDescription
pathProject directory (default: current directory)

Example

stellarion init

stellarion init /path/to/project

stellarion status

Check Stellarion status and configuration.

stellarion status

Output

  • Installation status
  • Current project configuration
  • Index status
  • Available tools

Example

$ stellarion status
Stellarion v1.0.0
Project: /Users/dev/myproject
Indexed: Yes (1,234 files)
Tools: 12 available

stellarion remove

Remove Stellarion configuration from a project.

stellarion remove

What It Does

  • Removes Claude Code MCP configuration
  • Optionally removes .stellarion/ directory

Options

stellarion remove [--keep-data]
OptionDescription
--keep-dataKeep .stellarion/ directory

Example

stellarion remove

stellarion remove --keep-data

Environment Variables

These can be set in .stellarion/.env:

VariableDescription
OPENAI_API_KEYOpenAI API key for enhanced features
ROBERTA_MODEL_PATHPath to RoBERTa model files
STELLARION_LOG_LEVELLogging level (debug, info, warn, error)

Exit Codes

CodeMeaning
0Success
1General error
2Configuration error
3Project not found