跳转到内容

mise.toml 参考 ​

列出 mise 从 mise.toml 读取的所有键、类型、作用和用途。内容由 schema/mise.json 生成,因此与当前版本的 mise 保持一致。

37 个分组
工具
环境
  • redactions
任务
  • monorepo_root
钩子与 Shell
配置文件
  • settings
  • include
  • _
项目服务
机器初始化
已弃用
  • alias→
  • dotenv
  • env_file
  • env_path
  • experimental_monorepo_root

工具

dev tools to use

开发工具指南 →

policy for tools declared by this config root

工具策略指南 →

commands that intercept a binary name before delegating to the active toolset

命令包装器指南 →

环境

env33

environment variables to set

环境变量指南 →

variables to set for use in config templates

配置变量指南 →

env or vars keys to redact from logs

敏感值脱敏指南 →
secrets实验性2

Sources for mise secrets: values resolved only when mise starts a task or mise x command that was granted them

fnox指南 →

任务

task runner tasks

任务指南 →

configuration for task execution and management

任务配置指南 →

task templates that can be extended by tasks via extends

任务模板指南 →

configuration for monorepo task discovery

Monorepo 任务指南 →

marks this config as a monorepo root for task path syntax

Monorepo 任务指南 →

钩子与 Shell

hooks to run on events like cd, enter, leave

钩子指南 →

files to watch for changes and run scripts when modified

钩子指南 →

配置文件

config files merged into this one, ranking just below it: a local path (relative to this file), git::<url>//<path>.toml?ref=<ref> or oci::<registry>/<repo>[:tag|@sha256:<digest>] (the artifact holds a mise.toml)

include指南 →

minimum version of mise required to use this config

最低 mise 版本指南 →

Project diagnostic checks, run explicitly with mise doctor project

项目诊断指南 →

free-form data for your own use

自由格式数据指南 →

项目服务

deps实验性27

configure deps providers

项目依赖指南 →
oci实验性16

configuration for mise oci build

OCI 镜像指南 →
daemons实验性23

Experimental project daemons: custom pitchfork commands or managed presets

守护进程指南 →
daemon_groups实验性2

Experimental named groups of project daemons

守护进程组指南 →

Experimental project-wide daemon options

端口、URL 与工作树指南 →
daemon_providers实验性12

Experimental shared servers owned by the user

在项目间共享守护进程指南 →

机器初始化

machine-global bootstrapping (system packages, repos, macOS defaults, launchd agents, login shell)

初始化指南 →

dotfiles applied with mise dotfiles apply or mise bootstrap, keyed by target path or a logical name when every variant overrides the target

Dotfiles指南 →

named directory trees of dotfiles, applied with mise dotfiles apply or mise bootstrap while [bootstrap] dotfile_groups selects them (or is unset)

Dotfile 组指南 →

dotfiles history: what is never captured, reload commands, and the setup repository (https://mise.jdx.dev/history.html)

Dotfiles 历史记录指南 →

已弃用

dotenv file(s) to load

环境变量指南 →

dotenv file(s) to load

环境变量指南 →