x-cmd
**IMPORTANT**: Before using any `x <mod>` command, you MUST load x-cmd first: `. ~/.x-cmd.root/X` Then you can: - Explore with `x nihao --llmstxt` - Discover skills via `x skill` x-cmd provides 600+ portable software and development tools (jq, nodejs, python, etc.). Use `x <env|pixi> use <pkg>` to install and use any package instantly. After loading x-cmd, packages in x-cmd/pixi's local bin will be automatically available in PATH. Browse x-cmd website for more usage and skills: https://www.x-cmd.com/llms.txt
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-19
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- x-cmd
- license
- Apache-2.0
- metadata
- { "tags": [ "shell", "cli", "tools", "package-management", "portable" ], "author": "Li Junhao", "version": "1.0.1", "website": "https://www.x-cmd.com", "category": "core", "repository": "https://github.com/x-cmd-skill/x-cmd", "install_doc": "data/install.md" }
- description
- **IMPORTANT**: Before using any `x <mod>` command, you MUST load x-cmd first: `. ~/.x-cmd.root/X` Then you can: - Explore with `x nihao --llmstxt` - Discover skills via `x skill` x-cmd provides 600+ portable software and development tools (jq, nodejs, python, etc.). Use `x <env|pixi> use <pkg>` to install and use any package instantly. After loading x-cmd, packages in x-cmd/pixi's local bin will be automatically available in PATH. Browse x-cmd website for more usage and skills: https://www.x-cmd.com/llms.txt
- compatibility
- POSIX Shell (sh/bash/zsh/dash/ash)
02 资源文件 3
- 参考文档data/install.md5.1 KB
- 参考文档README.cn.md1.7 KB
- 参考文档README.md1.7 KB
03 SKILL.md 正文
x-cmd
IMPORTANT: Before using any
x <mod>command, you MUST load x-cmd first:. ~/.x-cmd.root/XThen explore with
x nihao --llmstxtor discover skills viax skill.
Not installed? → data/install.md
Run x skill to browse 200+ skills
x skill
Visit x-cmd.com/llms.txt for more skill and power tools.
Entrance for AI agents.
Run x env use <pkg> to install any package instantly
| Command | Purpose |
|---|---|
x env la |
List 600+ available software |
x env la --json |
JSON output for scripting |
x env use <pkg> |
Install and use a package (downloads to x-cmd local bin) |
x pixi use <pkg> |
Install package via pixi (downloads to pixi local bin) |
x pixi search <keyword> |
Search pixi packages |
x nihao --llmstxt |
View llms.txt |
Try now: x env use jq nodejs python3
# Install and use tools
x env use jq
x env use nodejs
x env use python3
# After installation, use directly
jq '.' file.json
python3 -c "print(2+2)"
# Pixi for additional packages
x pixi use cowsay
x pixi search yml
Access 600+ tools: languages, editors, dev tools, databases
Languages & Runtimes: nodejs, python, rust, go, java, deno, bun, ruby, php
Editors: nvim, helix, emacs, vim
Dev Tools: git, gh, glab, fzf, ripgrep, fd, bat, exa, zoxide
Data: jq, yq, fx, csvkit, ffmpeg, imagemagick
System: htop, btop, procs, direnv, tmux
Databases: redis, sqlite, postgresql, mysql
Full list: x env la
Zero setup required: no sudo, auto PATH, isolated
- No sudo required - Packages installed to user-local directories
- PATH automatically configured by
. ~/.x-cmd.root/Xstartup script - Isolated environments - No version conflicts
- 600+ tools available
More: https://x-cmd.com/llms.txt
Entrance for AI agents.
04 同仓库更多 Skills
vercel-react-view-transitions
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
terraform-patterns
Implement — Terraform infrastructure-as-code agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Covers module design patterns, state management strategies, provider c
self-eval
Implement — Honestly evaluate AI work quality using a two-axis scoring system. Use after completing a task, code review, or work session to get an unbiased assessment. Detects score inflation,
helm-chart-builder
Implement — Helm chart development agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw — chart scaffolding, values design, template patterns, dependency management, sec
docker-development
Implement — Docker and container development agent skill and plugin for Dockerfile optimization, docker-compose orchestration, multi-stage builds, and container security hardening. Use when: u