diff --git a/docs/installing-mise.md b/docs/installing-mise.md index 88231e74a2..49ad24f8d1 100644 --- a/docs/installing-mise.md +++ b/docs/installing-mise.md @@ -295,10 +295,14 @@ echo 'mise activate pwsh | Out-String | Invoke-Expression' >> $HOME\Documents\Po Nu does [not support `eval`](https://www.nushell.sh/book/how_nushell_code_gets_run.html#eval-function) -Install Mise by activating it into the autoload dir: +Install Mise by appending `env.nu` and `config.nu`: ```nushell -'^mise activate nu | save --force ($nu.data-dir | path join vendor autoload mise.nu)' | save $nu.config-path --append +' +let mise_path = $nu.default-config-dir | path join mise.nu +^mise activate nu | save $mise_path --force +' | save $nu.env-path --append +"\nuse ($nu.default-config-dir | path join mise.nu)" | save $nu.config-path --append ``` If you prefer to keep your dotfiles clean you can save it to a different directory then