Skip to content
/ x-cmd Public

Best Buddy for AI Agents like Clawdbot, Claude Code. Bootstrap 1000+ command line tools in seconds.

License

Notifications You must be signed in to change notification settings

x-cmd/x-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

346 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 中文 | Source Codex-cmd-version

x-cmd-logo

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.

x-cmd-banner

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 curl command:
    eval "$(curl https://get.x-cmd.com)"
  • With wget command:
    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:

brew   |   aur   |   apt   |   apk   |   pacman   |   dnf

Image

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
...

More...


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 :

  1. Direct Use : Run directly with x jq
  2. Global Installation : After x env use jq, use the jq command
  3. Temporary Installation : After x env try jq, use the jq command (by modifying the current environment variable PATH to take effect in the current session's Shell)

For more information see:

License

See our License Explanation.

Other

Star History

Star History Chart


Shodan's avatar
Shodan

  • @shodanhq · shodan.io
  • Leading Security Search Engine
  • Global Cybersecurity Intelligence Platform
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:


Tzer-Jen Wei, Ph.D.'s avatar
Tzer-Jen Wei, Ph.D.

  • Associate Professor, NYCU AI College
  • Google Developer Expert in Machine Learning
  • AWS Educate Cloud Ambassador
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.


Ian Max Andolina Ph.D.'s avatar
Ian Max Andolina Ph.D.

  • Neuroscientist specializing in visual perception
  • Institute of Neuroscience, Chinese Academy of Sciences
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!


Terminal Trove's avatar
Terminal Trove

  • The $HOME of Terminal Tools
  • The Curated CLI Directory
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.


How-To Geek's avatar
How-To Geek

  • Leading Technology Explainer
  • Online Consumer Electronics Guide
x-cmd describes itself in many ways, but at its core, it's portable, convenient, and hassle-free. In keeping with that spirit, you can deploy it to any system with a simple curl command.


Minimal Devops's avatar
Minimal Devops

  • Minimal DevOps Practice Technology Author
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.


Dmitriy Akulov's avatar
Dmitriy Akulov

  • Founder of jsDelivr
  • Creator of Globalping
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.


Hong's avatar
Hong

  • Founder, nnoractive Sdn. Bhd.
  • Senior Technical Blogger
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.


Yuliang Xiao's avatar
Yuliang Xiao

  • PhD Student at UofT
  • Researcher at Sunnybrook Research Institute
  • MSE, Johns Hopkins University
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.


Xinlu Lai's avatar
Xinlu Lai

  • ShareAI Lab Founder & CEO
  • Kode Agent Author
  • llama3 Chinese Version Author
X-CMD is the sharpest Swiss Army Knife I've seen this year, the last one was BusyBox many years ago.


Min Gong Ge's avatar
Min Gong Ge

  • Author of Linux System Operations and Maintenance Guide: From Beginner to Enterprise Practice
  • Focused on open-source technologies including Linux systems, heavy backend, and system cluster operations
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.


Mike's avatar
Mike

  • Senior Internet Engineer with 25 years of experience
  • Social Media Creator / 100k+ followers across platforms
  • Focused on internet products, engineering practices, and productivity tools
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.


Adriano's avatar
Adriano

  • asn author
  • Open Source Enthusiast
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.


Han Shu's avatar
Han Shu

  • Developer of Nping and AI-Media2doc
  • Open Source Enthusiast
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.


TeacherDu's avatar
TeacherDu

  • Cloud Computing Instructor
  • Senior DevOps Engineer
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.


Adrian's avatar
Adrian

  • Technical VP
  • Chief Architect of New Energy
  • Senior System Architect
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.


Fei Le Niao's avatar
Fei Le Niao

  • Senior Java Developer
  • CSDN Blogger
  • Open Source Enthusiast
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.


Xiaoming Bai's avatar
Xiaoming Bai

  • Co-founder of NutPi
  • Huawei HDE
  • HarmonyOS/Cangjie KOL
x-cmd provides a powerful set of command-line tools and AI-assisted functions for developers in the HarmonyOS ecosystem. It is an important tool for improving terminal operation efficiency.


Li Wang's avatar
Li Wang

  • Chief Algorithm Engineer
  • NOIP Judge
  • ACM-ICPC Gold Medal
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.


Chi Zhang's avatar
Chi Zhang

  • Senior Node.js Developer
I often need to switch between about ten machine terminals for work. Syncing script configurations and unifying tool installations has always been a headache. Thanks to x-cmd, it provides a simple and fast solution to achieve consistency across multiple terminals at a very low cost. Life is precious, I use x-cmd.


CoderWanFeng's avatar
CoderWanFeng

  • 300K followers across all platforms
  • Author of python-office
  • Co-founder of the AI community "White Water AI"
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.


Heqi Liu's avatar
Heqi Liu

  • Focused on AI-assisted vaccine design
  • China Pharmaceutical University
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.


Nxcode's avatar
Nxcode

  • nxcode.io
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.


Zhongnan Huluwa's avatar
Zhongnan Huluwa

  • UCAS-ICT
  • Senior Internet Engineer
  • Author of iTrending.top
I was immediately drawn to x-cmd the first time I saw it. It strikes a rare balance between efficiency and aesthetics, significantly simplifying and standardizing the deployment of terminal tools.
In the age of AI, x-cmd feels more alive than ever. As a terminal enthusiast, I sincerely hope x-cmd continues to grow stronger.


EricWang's avatar
EricWang

  • MemoV Founder
Agents are only as capable as their shell.
X-CMD gives you a lightweight, instantly deployable shell interface—so your agents can act fast, automate deeper, and ship real work.


MeetChances's avatar
MeetChances

  • meetchances.com
With the rise of AI Coding, the wheel of technology is turning back to the terminal once again.
X-CMD helps experts on the QianShi platform efficiently resolve environment configuration and toolchain issues,
significantly improving development and delivery efficiency.
Highly recommended for industry professionals — the earlier you adopt X-CMD, the earlier you get off work.


Huaping Fiberglass's avatar
Huaping Fiberglass

  • huaping-fiberglass.com
Sincerely thank the X-CMD team for their guidance! Our operations team has taken the lead in adopting x-cmd and x-cmd hub in internal testing, successfully achieving the sharing of prompts and scripts. We are particularly excited about the immense potential of integrating AI Agents and Skills into our CI/CD and daily workflows. In the AI era, the importance of such capabilities is self-evident, bringing unlimited associations and possibilities. We wish X-CMD great success in the AI era!


Nick Young's avatar
Nick Young

  • Senior Systems/Network Engineer at TDS Consulting
I used to sync portable apps via Dropbox across multiple PCs. Now, x-cmd has completely replaced that workflow—it’s essentially a massive toolbox containing almost every app I need. It’s significantly quicker and easier than manual setup.


Marek Küthe's avatar
Marek Küthe

  • Open Source Enthusiast
My personal highlight of x-cmd is, on the one hand, the excellent documentation, which includes examples as well as a reference guide for use. On the other hand, it's also the visual presentation.
Furthermore, it doesn't "pressure" you and gives you a lot of freedom.


Derick's avatar
Derick

  • Head of Technology at Polyflow
  • Blockchain Expert
The measure of a great tool lies in its ability to maximize efficiency, and x-cmd is no exception. Tailored for developers, it provides an immersive, efficient, and consistent command-line interface experience through minimalist commands. One command in hand, unlocking infinite possibilities.


Cierra Runis's avatar
Cierra Runis

  • Open Source Enthusiast
x-cmd encapsulates common system and network operations into safer, user-friendly commands. Its interactive design lowers the barrier to using and memorizing CLI tools, while its Shell-based implementation eliminates the need for extra runtimes or dependency management—ensuring a pragmatic, reliable, and "out-of-the-box" experience.


Wu Haomian's avatar
Wu Haomian

  • Outstanding Physics Teacher
  • EdTech Innovator
Physics explores the universe; x-cmd masters digital logic. Its intuitive design and AI integration make terminal usage effortless for educators. A perfect tool for non-CS majors to boost efficiency in teaching and research.


Jacky Ho's avatar
Jacky Ho

  • Sales Director of FRP Products
  • Hardware Geek
As the head of sales and operations, my core responsibility is to ensure that the value of our technology is accurately and reliably communicated to our customers. x-cmd has become a crucial link for efficient collaboration between me and the operations team. Through the x-cmd hub, we share standardized query and diagnostic scripts, allowing me to understand the system status immediately, communicate with the technical team using accurate data, and even provide clear technical support plans directly to customers. It has unified the "technical language" across departments, greatly improving the efficiency of internal collaboration from problem discovery to solution delivery.
👉 See All Power Users ...

About

Best Buddy for AI Agents like Clawdbot, Claude Code. Bootstrap 1000+ command line tools in seconds.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 6

Languages