Install
Get DevOps running
in 30 seconds.
One command. Works with every infrastructure project you already have.
macOS / Linux
terminal
$ curl -fsSL https://devops-lang.dev/install.sh | sh
Supports macOS 13+ (Apple Silicon and Intel) and Linux (x86_64, aarch64). Installs to ~/.devops/bin.
Windows
powershell
PS> irm https://devops-lang.dev/install.ps1 | iex
Windows 10/11 (x86_64). Installs to %USERPROFILE%\.devops\bin. PowerShell 5.1+ required.
Homebrew (macOS / Linux)
terminal
$ brew install openie/tap/devops
Cargo (from source)
terminal
$ cargo install devops-ide
Quick Start
terminal
# Open an infrastructure project $ devops open ./infra Detected: Terraform (12 files), K8s (8 manifests), Docker (3 images) Infrastructure graph: 47 resources, 83 edges # Query the infrastructure graph $ devops graph query "path from ingress to database" ingress -> api-gateway -> auth -> user-api -> postgres Total path energy: 2.21 J/hr # Check pipeline energy $ devops pipeline energy --last 3 Run #142 2,295 mJ (build 1,247 | test 892 | deploy 156) Run #141 2,361 mJ (build 1,312 | test 901 | deploy 148) Run #140 4,893 mJ !! regression detected # Detect drift $ devops drift check 1 drift detected: nginx-ingress (replicas: 2 -> 3, +4.7 J/hr)
CLI Commands
devops open <path> Open an infrastructure project (auto-detects formats) devops graph query <q> Query the infrastructure dependency graph devops graph viz Visualize the infrastructure graph devops pipeline energy Show CI/CD pipeline energy history devops container analyze <img> Layer-by-layer energy breakdown for a container devops cloud compare Compare cloud instance types by energy efficiency devops drift check Detect drift between declared and live state devops scan --secrets Scan for hardcoded secrets and credentials devops gitops status Show GitOps sync state with energy metrics devops compliance report Generate SCI / CSRD / GHG compliance report devops update Update DevOps to the latest version System Requirements
Minimum
4 GB RAM
500 MB disk space
macOS 13+ / Linux (glibc 2.31+) / Windows 10+
Recommended
16 GB RAM
2 GB disk space (with infrastructure plugins)
Apple Silicon or modern x86_64