Pyenv Operatons: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


==Bash==
==Bash==
Add this to <code>.bashrc</code>:
<syntaxhighlight lang='bash'>
# pyenv setup
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"
</syntaxhighlight>

Revision as of 00:43, 3 November 2023

Internal

Installation

brew install pyenv

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 -)"