| name | mise-guide |
| description | Mise tool version management guide including runtime management (Node.js, Go), NPM package installation, home-manager configuration, and troubleshooting |
mise
mise is a tool for managing multiple runtimes and tools.
Overview
mise is configured and managed through home-manager.
Configuration Files
- home-manager configuration (darwin):
darwin/home-manager/mise/default.nix
- home-manager configuration (NixOS):
nixos/home-manager/mise/default.nix
- Generated configuration:
~/.config/mise/config.toml
Managed Tools
Programming Languages
- Node.js:
lts
- Go:
1.24.5
- Jujutsu:
latest
NPM Packages
Packages directly managed by mise:
@redocly/cli - CLI tool for OpenAPI/Swagger
corepack - Node.js package manager management
@google/gemini-cli - CLI tool for Google Gemini
@openai/codex - CLI tool for OpenAI Codex
NPM Global Packages (via Tasks)
Installed via tasks due to complex dependencies:
commitizen - Git commit convention tool
cz-git - commitizen adapter
CLI Tools (via curl install scripts)
These tools should be installed via mise tasks using official install scripts:
- GitHub Copilot CLI - AI-powered coding assistance in terminal
- Claude Code CLI - Anthropic's coding assistant for terminal
Commands
Basic Operations
make mise-list
make mise-config
make mise-install-all
Individual Tool Operations
mise install go@1.23.4
mise install node@lts
mise use go@1.23.4
mise use node@lts
NPM Packages
make mise-install-npm-commitizen
mise run npm-commitizen
CLI Tools Installation
mise run copilot-install
mise run claude-install
mise run pre-commit-init
Configuration Editing
Edit home-manager configuration:
# darwin/home-manager/mise/default.nix (macOS)
# or
# nixos/home-manager/mise/default.nix (NixOS)
programs.mise = {
enable = true;
enableZshIntegration = true;
globalConfig = {
tools = {
node = "lts";
go = "1.24.5";
jujutsu = "latest";
"npm:@redocly/cli" = "latest";
# ... other tools
};
tasks = {
npm-commitizen = {
description = "Install commitizen and cz-git globally";
run = [
"npm install -g commitizen cz-git"
];
};
copilot-install = {
description = "Install GitHub Copilot CLI via official install script";
run = [
"curl -fsSL https://gh.io/copilot-install | bash"
];
};
claude-install = {
description = "Install Claude Code CLI via official install script";
run = [
"curl -fsSL https://claude.ai/install.sh | bash"
];
};
pre-commit-init = {
description = "Install pre-commit hooks";
run = [
"pre-commit install"
];
};
};
};
};
Apply configuration changes:
make home-manager-apply
Troubleshooting
When PATH is not recognized
exec zsh
eval "$(mise activate zsh)"
When tools are not found
mise doctor
mise config
Related Documents