You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmdusehelp="Installs a tool and adds the version to mise.toml." {
943
943
aliasu
944
-
long_help"Installs a tool and adds the version to mise.toml.\n\nThis will install the tool version if it is not already installed.\nBy default, this will use a `mise.toml` file in the current directory.\n\nIn the following order:\n - If `MISE_DEFAULT_CONFIG_FILENAME` is set, it will use that instead.\n - If `MISE_OVERRIDE_CONFIG_FILENAMES` is set, it will the first from that list.\n - If `MISE_ENV` is set, it will use a `mise.<env>.toml`instead.\n - Otherwise just \"mise.toml\"\n\nUse the `--global` flag to use the global config file instead."
944
+
long_help"Installs a tool and adds the version to mise.toml.\n\nThis will install the tool version if it is not already installed.\nBy default, this will use a `mise.toml` file in the current directory.\n\nIn the following order:\n - If `--global` is set, it will use the global config file.\n - If `--path` is set, it will use the config file at the given path.\n - If `--env` is set, it will use `mise.<env>.toml`.\n - If `MISE_DEFAULT_CONFIG_FILENAME` is set, it will use that instead.\n - If `MISE_OVERRIDE_CONFIG_FILENAMES` is set, it will the first from that list.\n - Otherwise just \"mise.toml\" or global config if cwd is home directory.\n\nUse the `--global` flag to use the global config file instead."
945
945
after_long_help"Examples:\n\n # run with no arguments to use the interactive selector\n $ mise use\n\n # set the current version of node to 20.x in mise.toml of current directory\n # will write the fuzzy version (e.g.: 20)\n $ mise use node@20\n\n # set the current version of node to 20.x in ~/.config/mise/config.toml\n # will write the precise version (e.g.: 20.0.0)\n $ mise use -g --pin node@20\n\n # sets .mise.local.toml (which is intended not to be committed to a project)\n $ mise use --env local node@20\n\n # sets .mise.staging.toml (which is used if MISE_ENV=staging)\n $ mise use --env staging node@20\n"
946
946
flag"-f --force"help="Force reinstall even if already installed"
947
947
flag--fuzzyhelp="Save fuzzy version to config file" {
0 commit comments