跳转到内容

mise unset ​

  • 用法: mise unset [-f --file <FILE>] [-g --global] [ENV_KEY]…
  • 效果: 修改状态
  • 源代码: src/cli/unset.rs

Remove environment variables from mise.toml

Edits the same file mise set writes: the lowest-precedence TOML file in the nearest config directory, or the global config when run in your home directory. Use --global or --file to pick another file.

Arguments ​

  • [ENV_KEY]… — Environment variables to remove, such as NODE_ENV

Flags ​

示例 ​

Remove NODE_ENV from the project config

mise unset NODE_ENV

从全局配置中移除 NODE_ENV

mise unset -g NODE_ENV

相关文档 ​