PortValhalla/scripts/Common/Software/pyenv/install.sh

10 lines
299 B
Bash
Executable file

#!/bin/bash
curl https://pyenv.run | bash;
{
echo "";
echo "# pyenv";
echo 'export PYENV_ROOT="$HOME/.pyenv"';
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"';
echo 'eval "$(pyenv init -)"';
echo 'eval "$(pyenv virtualenv-init -)"';
} >> ~/.bashrc;