# X-CMD

> Shell toolkit with command modules, on-demand CLI packages, completions, themes, and AI service integrations.

Stars: 4.7k · Language: Awk · License: Apache-2.0 · Categories: Shell

- Repository: https://github.com/x-cmd/x-cmd
- Website: https://x-cmd.com
- Page: https://www.trmn.sh/tools/x-cmd

## Install

- Shell script: `eval "$(curl https://get.x-cmd.com)"`

## Overview

X-CMD is a shell toolkit that exposes modules through `x <module>` and packages through `x <tool>` or `x env use <tool>`. Its shell and awk modules cover system commands, file operations, Git hooks, completions, and shell themes. The package system downloads CLI tools such as jq, fzf, and ripgrep on demand.

The core runs in POSIX shells including bash, zsh, ash, and dash. Modules such as `x openai`, `x gemini`, and `x deepseek` provide terminal access to AI services alongside the system utilities. X-CMD suits developers and administrators who want a common command interface for shell tasks and portable tools across environments.

### Installation

```bash
# via Shell script
eval "$(curl https://get.x-cmd.com)"
```

## Alternatives

- [vivid](https://www.trmn.sh/tools/vivid.md): Generates LS_COLORS values from YAML filetype databases and color themes, for ls, tree, fd, bfs, dust and other tools. (Rust, 2.3k stars)
- [McFly](https://www.trmn.sh/tools/mcfly.md): Replaces ctrl-r shell history search with a full-screen search ranked by a small neural network using directory, prior commands, and exit status. (Rust, 7.8k stars)
- [up](https://www.trmn.sh/tools/up.md): Interactive terminal UI for building Linux pipelines with live preview of command results (Go, 8.9k stars)
- [inshellisense](https://www.trmn.sh/tools/inshellisense.md): IDE-style autocomplete for shells, running as a terminal-native runtime for the withfig/autocomplete specs covering 600+ CLI tools on Windows, Linux, and macOS. (TypeScript, 10.7k stars)
- [genact](https://www.trmn.sh/tools/genact.md): Terminal program that prints fake activity output (compilers, builds, botnets, downloads) to look busy. Runs natively or in a browser via WebAssembly. (Rust, 12.2k stars)

---

Canonical: https://www.trmn.sh/tools/x-cmd
