Pyenv Operatons: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
brew install pyenv
brew install pyenv
</syntaxhighlight>
</syntaxhighlight>
You need to [[#Shell_Setup|setup your shell]] after installation.
You need to [[#Setup_Shell|setup your shell]] after installation.


=Setup Shell=
=Setup Shell=

Revision as of 00:45, 3 November 2023

Internal

Installation

brew install pyenv

You need to setup your shell after installation.

Setup Shell

https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv

Bash

Add this to .bashrc:

# pyenv setup
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"