jpskill.com
🛠️ 開発・MCP コミュニティ

mise

プロジェクトごとにNode.jsやPythonなどの開発ツールバージョン管理、環境変数の設定、タスク実行などを、miseというツールを使って効率的に行うための設定や使い方をサポートするSkill。

📜 元の英語説明(参考)

Configure and use mise for dev tool management, environment variables, and task running. Use this skill when the user wants to set up project tooling with mise, manage tool versions (node, python, go, etc.), define tasks in mise.toml, configure environment variables per project, or asks about mise configuration, backends, hooks, or CLI commands.

🇯🇵 日本人クリエイター向け解説

一言でいうと

プロジェクトごとにNode.jsやPythonなどの開発ツールバージョン管理、環境変数の設定、タスク実行などを、miseというツールを使って効率的に行うための設定や使い方をサポートするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o mise.zip https://jpskill.com/download/8681.zip && unzip -o mise.zip && rm mise.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8681.zip -OutFile "$d\mise.zip"; Expand-Archive "$d\mise.zip" -DestinationPath $d -Force; ri "$d\mise.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して mise.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → mise フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Mise

Mise は、ポリグロットなツールバージョンマネージャーおよびタスクランナーです。プロジェクトの dev tools、環境変数、およびタスクを管理します。

コアコンセプト

Configuration (設定): プロジェクトルートの mise.toml (または .mise.toml, .config/mise/config.toml)。設定は階層構造になっており、子ディレクトリの設定が親の設定を上書きします。

Tools (ツール): [tools] セクションで定義されます。Mise は、ディレクトリごとに正しいバージョンをインストールしてアクティブ化します。

Environment (環境): [env] セクションで定義されます。ディレクトリに入ったときにアクティブになる、プロジェクト固有の環境変数を設定します。

Tasks (タスク): [tasks] セクションで定義されるか、mise-tasks/ ディレクトリ内のスタンドアロンスクリプトとして定義されます。

クイックリファレンス

基本的な mise.toml の構造:

[tools]
node = "22"
python = "3.12"

[env]
NODE_ENV = "development"

[tasks.build]
run = "npm run build"

必須コマンド

Command Description
mise use node@22 mise.toml にツールのバージョンをインストールして設定します
mise use -g node@22 グローバルなツールのバージョンを設定します
mise install 設定ファイルからすべてのツールをインストールします
mise run <task> タスクを実行します
mise x -- <cmd> Mise 環境でコマンドを実行します
mise ls インストールされているツールを一覧表示します
mise doctor Mise のセットアップを診断します

ツールのバックエンド

ツールは、さまざまなバックエンドからインストールできます。

  • Core: node, python, go, ruby (組み込み)
  • npm: npm:prettier, npm:eslint
  • pipx: pipx:black, pipx:ruff
  • cargo: cargo:ripgrep
  • github: github:BurntSushi/ripgrep
  • aqua: aqua:hashicorp/terraform

参照ドキュメントを参照すべき時

詳細については、適切な参照ファイルをお読みください。

  • Configuration options (設定オプション) (ツールのオプション、環境ディレクティブ、設定): references/configuration.md
  • Task definition (タスクの定義) (toml タスク、ファイルタスク、引数、依存関係): references/tasks.md
  • CLI commands (CLI コマンド) (すべてのコマンドフラグと例): references/cli.md
  • Hooks and advanced features (フックと高度な機能): references/advanced.md

一般的なパターン

Node.js と Python を使用するプロジェクト

[tools]
node = "lts"
python = "3.12"

[env]
NODE_ENV = "development"
PYTHONDONTWRITEBYTECODE = "1"

[tasks.dev]
run = "npm run dev"

[tasks.test]
run = ["npm test", "pytest"]

依存関係を持つタスク

[tasks.build]
run = "npm run build"
sources = ["src/**/*.ts"]
outputs = ["dist/**/*.js"]

[tasks.deploy]
depends = ["build", "test"]
run = "./scripts/deploy.sh"

ファイルタスク (mise-tasks/build)

#!/usr/bin/env bash
#MISE description="Build the project"
#MISE depends=["lint"]
npm run build

.env ファイルからの環境設定

[env]
_.file = ".env"
_.path = "./bin"

シェルのアクティベーション

Mise を自動的にアクティブ化するには、シェルの rc ファイルに追加します。

# bash: ~/.bashrc
eval "$(mise activate bash)"

# zsh: ~/.zshrc  
eval "$(mise activate zsh)"

# fish: ~/.config/fish/config.fish
mise activate fish | source

アクティベーションを使用しない場合は、mise x -- <command> または mise run <task> を使用します。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Mise

Mise is a polyglot tool version manager and task runner. It manages dev tools, environment variables, and tasks for projects.

Core Concepts

Configuration: mise.toml in project root (or .mise.toml, .config/mise/config.toml). Config is hierarchical - child directories override parent settings.

Tools: Defined in [tools] section. Mise installs and activates correct versions per-directory.

Environment: Defined in [env] section. Set project-specific env vars that activate when entering directory.

Tasks: Defined in [tasks] section or as standalone scripts in mise-tasks/ directory.

Quick Reference

Basic mise.toml structure:

[tools]
node = "22"
python = "3.12"

[env]
NODE_ENV = "development"

[tasks.build]
run = "npm run build"

Essential Commands

Command Description
mise use node@22 Install and set tool version in mise.toml
mise use -g node@22 Set global tool version
mise install Install all tools from config
mise run <task> Run a task
mise x -- <cmd> Execute command with mise environment
mise ls List installed tools
mise doctor Diagnose mise setup

Tool Backends

Tools can be installed from various backends:

  • Core: node, python, go, ruby (built-in)
  • npm: npm:prettier, npm:eslint
  • pipx: pipx:black, pipx:ruff
  • cargo: cargo:ripgrep
  • github: github:BurntSushi/ripgrep
  • aqua: aqua:hashicorp/terraform

When to Consult References

For detailed information, read the appropriate reference file:

  • Configuration options (tool options, env directives, settings): references/configuration.md
  • Task definition (toml tasks, file tasks, arguments, dependencies): references/tasks.md
  • CLI commands (all command flags and examples): references/cli.md
  • Hooks and advanced features: references/advanced.md

Common Patterns

Project with Node.js and Python

[tools]
node = "lts"
python = "3.12"

[env]
NODE_ENV = "development"
PYTHONDONTWRITEBYTECODE = "1"

[tasks.dev]
run = "npm run dev"

[tasks.test]
run = ["npm test", "pytest"]

Task with Dependencies

[tasks.build]
run = "npm run build"
sources = ["src/**/*.ts"]
outputs = ["dist/**/*.js"]

[tasks.deploy]
depends = ["build", "test"]
run = "./scripts/deploy.sh"

File Task (mise-tasks/build)

#!/usr/bin/env bash
#MISE description="Build the project"
#MISE depends=["lint"]
npm run build

Environment from .env file

[env]
_.file = ".env"
_.path = "./bin"

Shell Activation

Add to shell rc file to auto-activate mise:

# bash: ~/.bashrc
eval "$(mise activate bash)"

# zsh: ~/.zshrc  
eval "$(mise activate zsh)"

# fish: ~/.config/fish/config.fish
mise activate fish | source

Without activation, use mise x -- <command> or mise run <task>.