mise unset β
- Usage:
mise unset [-f --file <FILE>] [-g --global] [ENV_KEY]β¦ - Source code:
src/cli/unset.rs
Remove environment variable(s) from the config file.
By default, this command modifies mise.toml in the current directory.
Arguments β
[ENV_KEY]β¦ β
Environment variable(s) to remove e.g.: NODE_ENV
Flags β
-f --file <FILE> β
Specify a file to use instead of mise.toml
-g --global β
Use the global config file
Examples:
# Remove NODE_ENV from the current directory's config
$ mise unset NODE_ENV
# Remove NODE_ENV from the global config
$ mise unset NODE_ENV -g