Shepherd CLI Icon
🛠️ Command Line Interface

Shepherd CLI

The AI-Native Platform, Local SQLite RAG, Azure DevOps & GitHub Flow (v0.12.14)

$ shepherd # Shepherd Interactive Shell & AI
🐑 Shepherd Shell v0.12.14 [Trilingual: PT/EN/ES]
🏢 Workspace: AppMobile | 🤖 Profile: [Medium] gemini-2.5-flash | 💾 RAG: SQLite Vector DB

> /index --status
🔍 Local Vector Store: .shepherd/vectors/embeddings.db (100% Offline)
✓ 4 microfrontends indexed • 184 code chunks cached (MD5 verified)

> /ai como funciona a arquitetura e fluxos de release?
🤖 [Contexto RAG: 4 chunks injetados de auth_repository.dart, flow_command.dart]
Shepherd AI: A arquitetura utiliza DDD com Clean Architecture e releases automáticas via 'shepherd flow'...

$ shepherd flow --bump patch --no-pr
⚡ Trunk-Based Release Pipeline: v0.12.13 → v0.12.14
✓ CHANGELOG.md updated & archived • Git tag v0.12.14 created e sincronizado! 🚀

Automating Excellence

Shepherd CLI is a powerful command-line interface designed to streamline Domain-Driven Design (DDD) workflows. From project initialization to deployment automation, it handles the heavy lifting of architectural consistency, allowing you to focus on business value.

🧠

Decentralized AI & 3 Profiles

Zero-cost token economy with 3 model profiles (Advanced, Medium, Local). Connect Ollama, LM Studio, LAN GPUs, or Cloud APIs (DeepSeek, Claude, OpenAI) with BYOK privacy.

⚡

Local SQLite Vector RAG

100% on-device semantic code intelligence stored in .shepherd/vectors/embeddings.db. Differential indexing keeps context sharp without sending code to third parties.

🚀

Shepherd Flow (TBD Release)

Trunk-Based Development release automation. One-command commit analysis, semantic version bumping, CHANGELOG generation, direct git tagging, or GitHub PRs.

🏗️

DDD Architecture & Health

Instant scaffolding for Entities, Aggregates, Repositories, and Use Cases. Detect domain leakage, manage code ownership, and automate monorepo cleanup.

Instalação Rápida (Zero Dependências)

Executáveis nativos standalone AOT para macOS, Linux e Windows — ou via pub.dev.

🍏 macOS & Linux (One-Liner):

curl -fsSL https://raw.githubusercontent.com/cruvinelrv/shepherd/main/scripts/install.sh | bash

🪟 Windows (PowerShell):

irm https://raw.githubusercontent.com/cruvinelrv/shepherd/main/scripts/install.ps1 | iex

📦 Desenvolvedores Dart/Flutter:

dart pub global activate shepherd
Download Binários (Releases) Portal Developers Ver no GitHub