From 17bb867641e72754932d69bff377e423af8bc719 Mon Sep 17 00:00:00 2001 From: Jordan Stewart Date: Thu, 29 Feb 2024 16:13:21 +1100 Subject: [PATCH] Remove pyenv setup instructions --- book/configuration.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/book/configuration.md b/book/configuration.md index 2338191e22..2a717bc9b9 100644 --- a/book/configuration.md +++ b/book/configuration.md @@ -164,24 +164,3 @@ $env.PATH = ($env.PATH | split row (char esep) | prepend '/opt/homebrew/bin') $env.PATH = ($env.PATH | split row (char esep) | prepend '/home/linuxbrew/.linuxbrew/bin') ``` -### Pyenv -[Pyenv](https://github.com/pyenv/pyenv) is a popular Python version manager. To add it to your Nushell PATH: - -#### MacOS or Linux -```nu -# MacOS or Linux -$env.PATH = ($env.PATH | split row (char esep) | prepend $"(pyenv root)/shims") -``` - -#### Windows -Windows users need to install [pyenv-win](https://github.com/pyenv-win/pyenv-win) -and execute the `Get-Command pyenv` command in PowerShell to get the path of `pyenv.ps1` after the installation. - -The result usually looks like: `C:\Users\\.pyenv\pyenv-win\bin\pyenv.ps1` - -Then add the path of pyenv to your Nushell PATH: -```nu -# Windows -$env.Path = ($env.Path | split row (char esep) | prepend $"~/.pyenv/pyenv-win/bin/pyenv.ps1") -``` -