brew
Use when working with Homebrew (`brew`) — the package manager for macOS and Linux. Covers the command structure, formula and cask…
Use when working with the rustup CLI — the Rust toolchain multiplexer. Covers installing/updating/uninstalling toolchains, channel syntax (stable/beta/nightly, dated, versioned), cross-compilation targets, components and profiles, directory and file overrides
Claude Code
$ npx -y skills add carapace-sh/carapace-bin --skill rustup --agent claude-code
Codex
$ npx skills add carapace-sh/carapace-bin --skill rustup -a codex -y
Cursor
$ npx skills add carapace-sh/carapace-bin --skill rustup -a cursor -y
Gemini CLI
$ npx skills add carapace-sh/carapace-bin --skill rustup -a gemini-cli -y
GitHub Copilot
$ npx skills add carapace-sh/carapace-bin --skill rustup -a github-copilot -y
OpenCode
$ npx skills add carapace-sh/carapace-bin --skill rustup -a opencode -y
Windsurf
$ npx skills add carapace-sh/carapace-bin --skill rustup -a windsurf -y
name: rustup description: > Use when working with the rustup CLI — the Rust toolchain multiplexer. Covers installing/updating/uninstalling toolchains, channel syntax (stable/beta/nightly, dated, versioned), cross-compilation targets, components and profiles, directory and file overrides (rust-toolchain.toml), the proxy/shim dispatch system (cargo/rustc/rustdoc/rustfmt/rust-analyzer), `rustup run`, `+toolchain` shorthand, self-management, shell completions, and environment variables. Triggers on: "rustup", "rustup install", "rustup update", "rustup toolchain", "rustup target", "rustup component", "rustup override", "rustup run", "rustup which", "rustup doc", "rustup man", "rustup self", "rustup show", "rustup set", "rustup home", "rustup completions", "rustup check", "rustup default", "+toolchain", "rust-toolchain.toml", "RUSTUP_HOME", "RUSTUP_TOOLCHAIN", "RUSTUP_AUTO_INSTALL", "rustup profile", "rustup proxy", "rust-analyzer proxy", "cargo-miri". user-invocable: true
Reference for [rustup](https://rust-lang.github.io/rustup/) — the Rust toolchain installer and multiplexer. Covers the full CLI surface, the proxy dispatch system, toolchain resolution, cross-compilation, and configuration.
Command line
→ rustup binary (multi-call: arg0 selects mode)
→ rustup_mode : rustup <subcommand> ... (management)
→ proxy_mode : cargo / rustc / ... (tool dispatch)
→ setup_mode : rustup-init (installer)
→ toolchain resolution
1. +toolchain shorthand
2. RUSTUP_TOOLCHAIN env var
3. rustup override (dir override, closest wins)
4. rust-toolchain.toml / rust-toolchain file (closest wins)
5. default toolchain
→ install-on-run (if RUSTUP_AUTO_INSTALL=1)
→ exec real toolchain binary with configured envLoad the reference that matches your task. When in doubt, load multiple references.
| Keywords | Reference | |----------|----------| | install, uninstall, update, default, check, show, set, home, completions, help, global flags, --verbose, --quiet, --version, --no-self-update, top-level commands | [references/cli.md](references/cli.md) | | toolchain, install, uninstall, list, link, custom toolchain, channel, stable, beta, nightly, versioned, dated, target triple, host, spec syntax, toolchain name | [references/toolchain.md](references/toolchain.md) | | target, cross-compilation, target add, target list, target remove, rust-std, std library, linker, --target, --toolchain, --installed | [references/target.md](references/target.md) | | component, add, remove, list, rustc, cargo, rustfmt, rust-docs, rust-analyzer, clippy, miri, rust-src, llvm-tools, rls, --target, --toolchain, profile, minimal, default, complete | [references/component.md](references/component.md) | | override, override set, override unset, override list, rust-toolchain.toml, rust-toolchain file, toolchain resolution, precedence, RUSTUP_TOOLCHAIN, +toolchain, settings.toml, directory override | [references/override.md](references/override.md) | | proxy, shim, cargo, rustc, rustdoc, rustfmt, rust-analyzer, clippy-driver, cargo-clippy, cargo-miri, rls, rust-gdb, rust-lldb, multi-call binary, rustup run, +toolchain shorthand, which, doc, man, install-on-run, recursion protection | [references/proxy.md](references/proxy.md) | | environment variables, RUSTUP_HOME, CARGO_HOME, RUSTUP_TOOLCHAIN, RUSTUP_DIST_SERVER, RUSTUP_UPDATE_ROOT, RUSTUP_AUTO_INSTALL, RUSTUP_LOG, RUSTUP_TERM_COLOR, RUSTUP_IO_THREADS, settings.toml, configuration | [references/environment.md](references/environment.md) |
Carapace-bin provides argument completion for multiple CLI commands (full list), and works across multiple POSIX and non-POSIX shells. Supported shells: Bash Cmd (experimental) Elvish Fish Nushell Oil Powershell Tcsh (experimental) Xonsh Zsh
Use when working with Homebrew (`brew`) — the package manager for macOS and Linux. Covers the command structure, formula and cask…
Use when working with Bubble Tea (charmbracelet/bubbletea) — the Elm Architecture TUI framework for Go. Covers the…
Use when working with the bun CLI — Bun's all-in-one JavaScript runtime and toolkit. Covers the CLI command reference (install,…
Use when working with the GitButler CLI (`but`) — virtual branches, stacked branches, workspace model, commit editing (rub,…
Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, building…
Use when working with the cargo CLI — Rust's package manager. Covers the manifest format (Cargo.toml), dependencies, features,…
Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI…
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…
Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on…
Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or…