From c8773f4d75cb8d186c90557cf745b876b7ef47e1 Mon Sep 17 00:00:00 2001 From: Florian Blanchet Date: Fri, 28 Jul 2023 22:32:36 +0300 Subject: [PATCH] Add instructions for PowerShell in README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5d43b415..0fd098c6 100644 --- a/README.md +++ b/README.md @@ -271,6 +271,16 @@ See [Advanced configuration](#advanced-configuration) for details and more confi + - For **Microsoft PowerShell**: + + Add the commands to `$profile.CurrentUserAllHosts` by running the following in your terminal: + + ~~~ pwsh + echo '$Env:PYENV_ROOT="$HOME/.pyenv"' >> $profile.CurrentUserAllHosts + echo '$Env:PATH="$Env:PYENV_ROOT/bin:$Env:PATH"' >> $profile.CurrentUserAllHosts + echo 'iex ((pyenv init -) -join "`n")' >> $profile.CurrentUserAllHosts + ~~~ + ### C. Restart your shell ----