diff --git a/data/tutorials/getting-started/3_01_ocaml_on_windows.md b/data/tutorials/getting-started/3_01_ocaml_on_windows.md index 8867e6e078..9109804589 100644 --- a/data/tutorials/getting-started/3_01_ocaml_on_windows.md +++ b/data/tutorials/getting-started/3_01_ocaml_on_windows.md @@ -87,6 +87,12 @@ On PowerShell: > (& opam env --switch=default) -split '\\r?\\n' | ForEach-Object { Invoke-Expression $_ } ``` +On [Nushell](https://www.nushell.sh/): + +``` +> opam env --shell=powershell | parse "$env:{key} = '{val}'" | transpose -rd | load-env +``` + Opam will display the shell update command each time it is needed. You can verify your installation with