English | 中文 | Source Code ⭐
Your AI-Powered Excalibur in Cloud.
https://x-cmd.com
X-CMD (pronounced as "X Command") is a compact yet powerful command-line toolkit that offers over 100+ functional modules tailored for various use cases, along with a package manager that supports downloading and installing over 500+ third-party open-source CLI tools.
- ⚡ Bootstrap 1000+ CLI tools: One command, download on-demand, launch CLI like apps.
- 🧠 AI-Powered: AI agent, AI chat, AI tasks, AI generator ... — one command to owner your efficient copilot.
- 🧩 Environment Management: Smoothly set up Node, Python, Java, Go … development environments
- 🛡️ Secure Sandbox: Provide permission-controlled system sandbox and Docker-based isolation — run software safely.
- 🎨 Terminal Beautifier: Built-in switch terminal theme & primary color, fonts installation, quickpath navigation and native completions — stylish and efficient.
- ∞ Design & UX: Unified CLI style, intuitive terminal UI, smooth workflows, effortless terminal experience.
- 🗃️ Hub: Instantly run hosted scripts across different platforms and shells, even in lightweight containers like BusyBox and Alpine.
- 🪶 Lightweight: Core package ~ 1.1 MB, loads in ~ 100 ms.
For source code, please visit main branch. X branch is for demo and action ⭐
Run the official X-CMD installation script in most common shells (bash, zsh, dash, ash).
- With
curlcommand:eval "$(curl https://get.x-cmd.com)"
- With
wgetcommand:eval "$(wget -O- https://get.x-cmd.com)"
|
Installation Detailed Guide - Platform: 🐧 Linux and macOS 🍎 | 🟦 Windows | 🔴 BSD Installation Detailed Guide - Non-POSIX Shell: fish | Nushell | Elvish | Xonsh | tcsh | PowerShell Installation Detailed Guide - Package Manager: |
Functional modules (mod) provided by X-CMD, invoked using the x <mod>.
For more information see mod/get-started
| 🤖 Agent | 🧠 AI |
x claude
x codex
x opencode
... |
x openai
x gemini
x deepseek
... |
| 🖥️ OS Man. | 📁 File System & Storage |
x mac
x cd
x top
x ps
... |
x zuz
x ls
x path
x df
... |
| 🫙 Git | 📦 Package Manager |
x gh
x gt
x gl
x cb
... |
x env
x install
x brew
x apt
... |
Packages collected by X-CMD, managed by the env module.
| Description | Command |
|---|---|
| Interactively view installable packages | x env |
| View installed packages | x env ls |
| Install package | x env use <package> |
| Uninstall package Reclaim space |
x env unuse <package> x env gc <package> |
| Install and use package only in the current Shell |
x env try <package> x env untry <package> |
General Usage:
For commonly used packages, e.g jq :
- Direct Use : Run directly with
x jq - Global Installation : After
x env use jq, use thejqcommand - Temporary Installation : After
x env try jq, use thejqcommand (by modifying the current environment variable PATH to take effect in the current session's Shell)
For more information see:
See our License Explanation.
|
X-CMD is a CLl that supports all Shodan APls and a ton more. It's actually crazy how many things it supports and allows for some cool combinations: https://www.x-cmd.com The Shodan commands are documented here: https://x-cmd.com/mod/shodan And here's a short example of doing a search on a vulnerability and then feeding it to an AI model. Or getting a list of Known Exploited Vulnerabilities (KEV) based on CISA: |
|
X-CMD is a very interesting tool that brings together various useful services and an attractive interface. Besides daily use, it is also particularly suitable for demos and presentations. Even audiences who are not familiar with the command line, or even a bit intimidated by it, should also be pleasantly surprised when they see its simple syntax and effects. |
|
The landscape of CLI tools is vast and ever changing. x-cmd is like a cool travel guide, mapping out the possibilities and providing context for wherever you may go. Want to know what modern CLI tool can help with problem Z? x-cmd can guide you through its well documented and structured modules and packages (local docs and online extensions). Want to try that new tool quickly; x-cmd can do that too. Want a more consistent interface across operating systems, x-cmd does that too. Helpful completions: check. Helpful and friendly developers: check. And it comes with a true shell geek factor because it is built on awk with a small core engine <1MB... Strongly recommended! |
|
This tool is ideal for developers, engineers and CLI power users who want a unified toolset. It's useful if you need to manage everything from version managers to cloud commands accessible in one toolset. |
|
X-CMD isn’t just a convenience — it’s a smart model. Instead of memorizing 20 different syntaxes, you remember one pattern. Instead of losing time in setup, you spend it on actual work. You could keep cobbling together scripts and aliases, or you could have a single framework that grows with you. That’s why it earns the “Swiss Army Knife” nickname. |
|
X-CMD is a great project that unifies lots of useful open source projects in a simple CLI tool. It allowed Globalping to reach a new user-base and simplify the installation for new users. |
|
X-CMD offers a fantastic UX for the CLI environment. I love the help documentation; it is incredibly readable, allowing me to figure out how to get things done quickly without wasting time on dense manpages. I highly recommend it to anyone who values efficiency in their workflow. |
|
X-CMD is a highly integrated toolkit that saves you from the time-consuming and bug-prone process of searching for and assembling disparate tools. It covers most daily needs; in my research, it not only efficiently manages workflows (like conda/python) but also provides a rich set of commands. It significantly boosts efficiency for researchers. |
|
X-CMD is the sharpest Swiss Army Knife I've seen this year, the last one was BusyBox many years ago. |
|
Redefining "small and beautiful," x-cmd leverages its modular design to achieve the "one tool, a hundred uses" philosophy, serving as a powerful productivity booster for developers and SREs. If you’re looking for a "Swiss Army knife in your pocket," x-cmd might just be the perfect choice. |
|
x-cmd truly transforms the command line from a "fragmented toolset" back into an "all-in-one workspace": a single command to centrally manage thousands of tools, with environments, AI, and execution all taken care of, making every operation in the terminal faster, more stable, and more hassle-free. |
|
terminal power users need complete control over their tools. But at the same time, most tools are tedious and verbose to work with. X-cmd fixes that, and does so elegantly. A real game changer. |
|
x-cmd is an incredibly interesting and practical tool. In the past, various CLI tools were scattered everywhere, but x-cmd offers a completely new approach—not just simple integration, but deep enhancement. As a developer, I’ve used many desktop toolkits to boost productivity, and x-cmd fills the gap where the terminal lacked a high-efficiency toolkit. In the age of AI, the fact that x-cmd integrates so many tools may bring even more surprises to everyone. |
|
X-CMD is a powerful tool for enhancing the terminal experience. Its modular design and integrated package manager provide a rich set of features with a smooth learning curve. Whether for daily command-line tasks or setting up a development environment, X-CMD offers reliable and efficient support. Highly recommended. |
|
As an architect, what impresses me most about X-CMD is how efficiently it “adapts to business at the architecture level” — it empowers me to rapidly build workflows that align with my architectural design needs, without wasting effort on rebuilding the entire toolchain. |
|
A lightweight and highly efficient CLI toolkit. By seamlessly integrating package management, environment setup, and powerful shortcuts, it makes terminal workflows feel effortless and doubles developer productivity. |
|
What X-CMD really saves is my brainpower. All the aliases and single-use scripts I used to memorize are now proper modules with discoverable commands. I can finally focus on solving problems instead of recalling weird one-liners. |
|
X-CMD is a remarkable command-line tool whose modular design and quick invocation style align perfectly with our development philosophy. With just a simple command, you can access powerful and diverse features. Highly recommended for all developers who strive for efficient workflows. |
|
X-CMD is a well-designed, cross-platform, and beginner-friendly modular CLI toolkit. Its near-transparent setup lets users focus on problem-solving rather than environment configuration. By consistently integrating and standardizing open-source CLI tools with high-quality documentation and tutorials, X-CMD enables rapid adoption of new community projects. Efficient communication and responsive iteration reflect its open, inclusive, and deeply open-source–driven philosophy. I am confident in its long-term evolution. |
|
Want your AI to level up from simple conversations to real engineering power? X-CMD is the secret weapon—it takes care of all the hard system operations. |
| 👉 See All Power Users ... | |