Shell Enhancement & AI Agent Toolkit
4.3k 2026-05-01
x-cmd/x-cmd
X-CMD is a modern toolkit that empowers POSIX shells with a comprehensive standard library, on-demand package management for CLI tools, and AI agent capabilities, making shell scripting as powerful as Python.
Core Features
Comprehensive Shell Standard Library with 300+ modules in shell/awk.
On-Demand Package Manager providing 600+ curated CLI tools (e.g., jq, fzf).
AI-Native Shell with pure-shell agents and integration with major LLMs (OpenAI, Gemini).
Lightweight, high-performance, and broadly compatible with POSIX shells (bash, zsh, ash, dash).
Quick Start
eval "$(curl https://get.x-cmd.com)"Detailed Introduction
X-CMD began as a standard library for POSIX shells, evolving to offer 300+ shell/awk modules for modern capabilities on any system. It then introduced an on-demand package system for 600+ curated CLI tools, ensuring compatibility and minimal footprint. With the rise of AI, X-CMD integrated AI capabilities directly into the shell, enabling pure-shell agents to interact with LLMs. This makes shell a powerful, flexible, and efficient environment for AI agents, excelling in scenarios where network latency and LLM throughput are critical.