Complete guide to using DevOS CLI - your comprehensive development toolkit for modern software projects.
DevOS CLI is a powerful command-line interface designed to streamline your development workflow. Built with Python and designed for extensibility, DevOS CLI integrates seamlessly with your existing development tools while providing powerful automation capabilities, intelligent project management, and advanced AI features.
DevOS CLI follows a modular architecture with pluggable components:
Core Engine: Command processing and workflow orchestrationPlugin System: Extensible architecture for custom commandsAI Layer: Multiple AI provider integrationsStorage Layer: Local data persistence and configurationComprehensive command coverage for all development needs
Intelligent code analysis and automation capabilities
Community-driven and fully customizable
DevOS CLI works without requiring PATH environment variable changes.
Install via pip for the latest stable version:
Download pre-compiled binaries for your platform:
Install from source for development:
Create a new project with your preferred template:
Track your work and maintain development context:
Leverage AI for code generation and problem-solving:
Set up development environment and preferences:
Browse all available commands and their options.
Check out practical examples and use cases.
DEVOS_AI_PROVIDERDefault AI provider (groq, openai)
DEVOS_CONFIG_PATHCustom configuration file path
Create a ~/.devos/config.json file:
AI-powered development assistance with multiple providers
Comprehensive security vulnerability scan
--severityFilter by severity (low, medium, high, critical)--export-mdExport results to Markdown file--modelAI model to useAnalyze project with deep AI understanding
--focusFocus area: security, architecture, performance, all--scopeAnalysis scope: file, directory, project--export-mdExport results to MarkdownGenerate comprehensive project architecture map
--patternsArchitecture patterns to analyze--export-mdExport architecture mapAI-powered code review
--directory-dReview entire directory--strictEnable strict review modeAI-powered code refactoring suggestions
--suggestions-onlyShow suggestions without applying--backupCreate backup before refactoringAI-powered debugging assistance
--line-lSpecific line to debug--errorError file to analyzeEnhance codebase with AI-driven improvements
--focusEnhancement focus: performance, security, readabilityGenerate code with project context
--templateCode template to use--languageProgramming languageGet comprehensive project summary with AI insights
--export-mdExport summary to Markdown--detailedInclude detailed analysisGet contextual AI suggestions
--contextSuggestion contextAI-powered test generation
--frameworkTest framework: pytest, unittest--coverageGenerate coverage testsAI-powered code explanation
--line-lSpecific line to explain--detailDetailed explanationGenerate code examples
--usage-patternsInclude usage patternsInteractive AI conversation with project context
--contextChat context: security, architecture, performance--historyLoad previous chat historyFast AI assistance using Groq
--modelGroq model to use--quickSkip deep analysisUltra-fast AI assistance without deep project analysis
--no-contextSkip project contextUltra-fast AI assistance without deep project analysis (alias for ai-quick)
--no-contextSkip project contextStart interactive AI chat with project context
--contextChat context: security, architecture, performance--historyLoad previous chat history--saveSave chat sessionGroq-specific fast AI commands
--model-mGroq model to use--tempTemperature (0.0-1.0)--max-tokensMaximum tokens--file-fInclude file context--quickSkip deep analysisManage AI configuration and providers
show-configShow current AI configurationset-api-keySet API key for providerlist-providersList available AI providerstest-connectionTest provider connectionclear-cacheClear AI response cacheusage-statsShow AI usage statisticsShortcuts for the most common operations
Quick start tracking current project
Quick stop current tracking session
Quick status overview
Show today's tracking summary
Quick setup wizard for new users
Initialize and manage projects with full lifecycle support
Initialize a new project with templates
--name-nProject name--path-pProject path (default: current directory)--language-lProgramming language--interactive-iInteractive modeInitialize a new project with templates
--templateProject template to use--nameProject nameInitialize a new project with templates
--templateProject template to use--nameProject nameQuick list of all projects
--activeShow only active projects--recentShow recent projectsAdd an existing project to DevOS management
--path-pProject path--language-lProgramming language--type-tProject type (web, cli, api, etc.)--description-dProject description--tagsProject tags (comma-separated)List all managed projects
--type-tFilter by project type--status-sFilter by status--format-fOutput format: table or jsonTrack and manage development sessions
Start a new work session
--project-pProject name or path--notes-nSession notes--tags-tSession tagsStop the current work session
--notes-nSession notesShow current tracking status and recent sessions
--project-pFilter by project name or path--limit-lNumber of sessions to show (default: 20)List tracking sessions
--project-pFilter by project name or path--limit-lNumber of sessions to show (default: 50)--format-fOutput format: table or json (default: table)Manage encrypted environment variables
Set an environment variable (encrypted)
--encrypt-eEncrypt the variable value--project-pSet for specific project--global-gSet globally for all projectsGet an environment variable value
--decrypt-dDecrypt encrypted variable--all-aShow all environment variables--project-pGet from specific projectList all environment variables
--project-pList for specific project--encrypted-onlyShow only encrypted variables--formatOutput format: table or jsonRemove an environment variable
--project-pRemove from specific project--global-gRemove global variableExport environment variables to file
--formatExport format: env, json, yaml--no-decryptDon't decrypt encrypted variables--project-pExport from specific projectImport environment variables from file
--formatImport format: env, json, yaml--encrypt-allEncrypt all imported variables--mergeMerge with existing variablesEnvironment variable management (alias for env)
Manage DevOS settings and preferences
Show current configuration
--globalShow global configurationSet a configuration value
--globalSet global configurationManage DevOS settings (alias for config)
Guided workflows and interactive setup
Start interactive mode with guided workflows
Start interactive mode (alias for interactive)
Start interactive mode with guided workflows
Quick setup wizard for new users
Command-line auto-completion setup
Generate or install shell completion
--installInstall completion to shell configSetup shell completion interactively
List available shells for completion
Additional utility and helper commands
Show recent activity or run recent command
--runRun the most recent command--limitNumber of recent items to showShow recent activity (alias for recent)
Generate reports and analytics
--export-mdExport report to Markdown--periodReport period: daily, weekly, monthlyShow statistics and analytics
--projectShow stats for specific projectTime tracking and reporting
--todayShow today's time--exportExport time dataRun tests and test-related commands
--coverageRun with coverage--watchWatch mode for testsRun tests (alias for test)
Configuration commands (alias for config)
Environment commands (alias for env)
Project management (alias for project)
Project management (alias for project)
Create and use custom project templates for consistent project structure.
Automate repetitive tasks with custom workflows.
Seamlessly integrate DevOS CLI with your favorite IDE.
Install the DevOS extension for integrated commands.
Configure external tools for quick access to DevOS commands.
Use the DevOS plugin for enhanced productivity.
Initialize a new project with specified type and options.
Start a new development session.
Query AI assistant with context.
Get configuration value.
Set configuration value.
Use pip install --upgrade devos-cli to update to the latest version.
Yes, most core features work offline. AI features require internet connectivity.
Check the GitHub repository for contribution guidelines and open issues.
Yes, DevOS CLI is open source and completely free to use. Some AI features may require API keys from third-party providers.
DevOS CLI supports Python 3.8 and above. We recommend using the latest stable Python version.
Use python -m devos instead of just devos
Check file permissions and ensure Python has access to create files
Verify API keys are set correctly in environment variables
python -m devos --help for command help