From 283967e840e08baec1d3efec2305fb825df5ee82 Mon Sep 17 00:00:00 2001 From: Erick Guan <297343+erickguan@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:06:13 +0100 Subject: [PATCH] Update a few phrases for mise install (#1712) * Update a few phrases for mise install * fixup! Update a few phrases for mise install --------- Co-authored-by: Erick Guan Co-authored-by: Erick Guan --- src/cli/install.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/cli/install.rs b/src/cli/install.rs index ce7dc2d7e8..2f3e3c0ac8 100644 --- a/src/cli/install.rs +++ b/src/cli/install.rs @@ -10,10 +10,11 @@ use crate::ui::multi_progress_report::MultiProgressReport; /// Install a tool version /// -/// This will install a tool version to `~/.local/share/mise/installs//` -/// It won't be used simply by being installed, however. -/// For that, you must set up a `.mise.toml`/`.tool-version` file manually or with `mise use`. -/// Or you can call a tool version explicitly with `mise exec @ -- `. +/// Installs a tool version to `~/.local/share/mise/installs//` +/// Installing alone will not activate the tools so they won't be in PATH. +/// To install and/or activate in one command, use `mise use` which will create a `.mise.toml` file +/// in the current directory to activate this tool when inside the directory. +/// Alternatively, run `mise exec @ -- ` to execute a tool without creating config files. /// /// Tools will be installed in parallel. To disable, set `--jobs=1` or `MISE_JOBS=1` #[derive(Debug, clap::Args)] @@ -39,6 +40,8 @@ pub struct Install { raw: bool, /// Show installation output + /// + /// This argument will print plugin output such as download, configuration, and compilation output. #[clap(long, short, action = clap::ArgAction::Count)] verbose: u8, }