Install
openclaw skills install x-envx-env is x-cmd's environment and package management module for installing and managing third-party software, programming language runtimes, and command-line tools. Use this skill when: installing or managing runtimes (node, python, go, bun, java, rust); installing CLI tools (jq, yq, fzf, himalaya, claude-code); managing multiple software versions (specify versions, switch versions); cleaning up unused packages; viewing installed software paths or dependencies; asking how to install software; temporarily using software in current shell session (try); permanently installing software to user environment (use); upgrading installed software versions; running scripts with specific software versions. This is the core package manager in x-cmd ecosystem.
openclaw skills install x-envLoad x-cmd before use:
. ~/.x-cmd.root/X
x-cmd not installed? → data/install.md
x env la <pkg>x env ls, x env llx env try <pkg>[=<version>]x env use <pkg>[=<version>]x env unuse <pkg>x env upgrade <pkg>x env gc <pkg>x env which <cmd>x env depend <pkg>x env use node # Install default version of node
x env use python # Install default version of python
x env use go=v1.21.0 # Install specific version
x env use node python go # Install multiple packages
x env try node # Use default node in current session
x env try bun go=v1.17.13 # Use multiple packages with versions
x env untry node # Cancel temporary use
x env use --upgrade --all # Upgrade all installed packages
x env use --upgrade jq yq # Upgrade specific packages
x env upgrade node python # Upgrade packages (shorthand)
x env la node # List all available node versions
x env ls # List packages in use
x env ll # List all installed packages
x env which node # Show node installation path
x env gc jq yq # Remove specified packages and orphans
x env use nodex env use pythonx env use gox env use jqx env use node=v18.12.0x env try nodex env upgrade --allx env which nodeRun x env --help for full help documentation.