mise
Dev-tool and runtime version management with mise — the modern replacement for nvm, pyenv, goenv, rbenv, and asdf. Use when setting up a new repo, pinning Node/Python/Go/Rust/Bun versions, configuring per-project tool versions via .mise.toml or .tool-versions, wiring direnv-style env loading, debugging "wrong version active" errors, or migrating off legacy version managers. Covers mise.toml schema, env hooks, task definitions, and integration with just and CI.
What this skill does
# Mise: Modern Dev Tool Management [Mise](https://mise.jdx.dev) is a polyglot version manager that replaces nvm, pyenv, rbenv, and most Homebrew CLI tools with a single, fast, declarative system. **Related skills:** - **just-pro** - Build system setup (includes mise integration patterns) - **cli-tools** - Power CLI tools (many installable via mise) ## Why Mise? | Problem | Old Way | Mise Way | |---------|---------|----------| | Node versions | nvm, fnm, volta | `mise use node@22` | | Python versions | pyenv, conda | `mise use [email protected]` | | Go versions | goenv, manual | `mise use [email protected]` | | CLI tools | Homebrew | `mise use jq ripgrep bat` | | Per-project versions | `.nvmrc` + `.python-version` + ... | Single `.mise.toml` | **Benefits:** - 1000+ tools available (`mise registry | wc -l`) - Parallel installs, prebuilt binaries - Works on macOS and Linux - Declarative config in repo = reproducible environments --- ## Quick Start ### Install Mise ```bash curl https://mise.run | sh ``` ### Shell Setup Add to your shell rc file. If using both mise and direnv (recommended), load mise first: ```bash # ~/.zshrc - recommended order eval "$(mise activate zsh)" eval "$(direnv hook zsh)" # fish: ~/.config/fish/config.fish mise activate fish | source direnv hook fish | source ``` For faster startup, use shims instead of (or with) activation: ```bash # zsh: add to ~/.zshrc export PATH="$HOME/.local/share/mise/shims:$PATH" eval "$(mise activate zsh)" eval "$(direnv hook zsh)" # fish: add to ~/.config/fish/config.fish fish_add_path -p ~/.local/share/mise/shims mise activate fish | source direnv hook fish | source ``` ### Install Tools ```bash mise use node@22 [email protected] go@latest # Current directory mise use -g jq ripgrep bat # Global (all directories) ``` --- ## Project Setup ### New Repo ```bash # Pin language versions mise use node@22 [email protected] # Creates .mise.toml - commit it git add .mise.toml ``` ### Existing Repo (first clone) ```bash mise trust # Allow repo's .mise.toml mise install # Install pinned tools ``` ### Example `.mise.toml` ```toml [tools] node = "22" go = "1.25" python = "3.12" # Project-specific tools just = "latest" sqlc = "latest" ``` --- ## Configuration Hierarchy Mise merges configs from multiple levels: ``` ~/.config/mise/config.toml # Global defaults └── ~/projects/.mise.toml # Workspace defaults └── ~/projects/foo/.mise.toml # Project-specific ``` More specific configs override less specific ones. ### Global Config (`~/.config/mise/config.toml`) Your daily-driver tools: ```toml [tools] # Languages node = "lts" python = "3.12" go = "latest" # CLI tools (replaces Homebrew) jq = "latest" yq = "latest" ripgrep = "latest" fd = "latest" bat = "latest" eza = "latest" delta = "latest" fzf = "latest" gh = "latest" lazygit = "latest" just = "latest" direnv = "latest" starship = "latest" [settings] auto_install = true ``` --- ## Direnv Integration [Direnv](https://direnv.net) handles per-directory **environment variables**. Combined with mise: - **Mise** → tool versions (node, go, python) - **Direnv** → environment variables (DATABASE_URL, API keys) > **Best Practice:** Keep a single source of truth: > - `.mise.toml` → tool versions only (node, go, python) > - `.envrc` → environment variables (DATABASE_URL, API_KEY, etc.) > > Don't use `[env]` section in `.mise.toml` - it creates confusion about where vars come from. ### Setup 1. Install direnv via mise: ```bash mise use -g direnv ``` 2. Add direnv hook to shell rc: ```bash # zsh eval "$(direnv hook zsh)" # fish direnv hook fish | source ``` 3. Create `.envrc` in your project: ```bash # Load mise tools for this directory if command -v mise &> /dev/null; then eval "$(mise hook-env -s bash)" fi # Project-specific environment export DATABASE_URL="postgres://localhost/myapp" export LOG_LEVEL="debug" ``` 4. Allow the envrc: ```bash direnv allow ``` **Tip:** Use `.envrc.example` (committed) + `.envrc` (gitignored with secrets). --- ## Just Integration [just](https://just.systems) and mise complement each other: - **mise** → pins tool versions - **just** → runs commands using those tools **See the `just-pro` skill** for full patterns. Quick summary: ### Shell Override (recommended for teams) ```just # Every recipe runs through mise automatically set shell := ["mise", "exec", "--", "bash", "-c"] build: npm run build test: go test ./... ``` ### Graceful Degradation (for open source) ```just _exec cmd: #!/usr/bin/env bash if command -v mise &>/dev/null; then mise exec -- {{cmd}} else {{cmd}} fi build: (_exec "npm run build") ``` ### Setup Recipe ```just setup: #!/usr/bin/env bash mise trust && mise install # Create .envrc from example if missing if [[ ! -f .envrc ]] && [[ -f .envrc.example ]]; then cp .envrc.example .envrc echo "Created .envrc from example - edit with your values" direnv allow fi echo "Toolchain ready" ``` --- ## Mise vs Devcontainer | Aspect | Mise + Direnv | Devcontainer | |--------|---------------|--------------| | **Isolation** | Shared host filesystem | Full container isolation | | **Speed** | Native performance | Container overhead | | **Setup time** | Seconds (`mise install`) | Minutes (image build) | | **Works offline** | After first install | After first build | | **IDE support** | Any editor, native | VS Code / JetBrains | | **Team adoption** | Low friction | Requires Docker knowledge | | **CI parity** | Good (mise in CI) | Excellent (same container) | **Recommendation:** Use mise for fast local dev. Add devcontainer for hermetic reproducibility if needed. They're not mutually exclusive. --- ## Troubleshooting ### Tools not in PATH ```bash mise doctor # Check activation status ``` Ensure mise activates **after** other PATH modifications in shell rc. ### Shims vs Activate - **Shims** (`~/.local/share/mise/shims`): Wrapper scripts, always work - **Activate**: Dynamic PATH modification, faster for frequent version switching Use both for reliability: ```bash # Shims first (fallback), then activate (dynamic) export PATH="$HOME/.local/share/mise/shims:$PATH" eval "$(mise activate zsh)" ``` ### Direnv + Mise Use `mise hook-env -s bash` in `.envrc`, not `mise activate`: ```bash eval "$(mise hook-env -s bash)" # Correct eval "$(mise activate bash)" # Wrong - generates shell hooks ``` --- ## Quick Reference ```bash # Install tools mise use node@22 # Current directory mise use -g ripgrep # Global # Manage versions mise ls # List installed mise ls-remote node # Available versions mise outdated # Check for updates # Project setup mise install # Install from .mise.toml mise trust # Trust current directory's config # Maintenance mise prune # Remove unused versions mise reshim # Rebuild shims mise self-update # Update mise itself ``` --- ## Further Reading - [Mise Documentation](https://mise.jdx.dev) - [Mise Registry](https://mise.jdx.dev/registry.html) - All available tools - [Direnv Documentation](https://direnv.net)
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.