11 lines
291 B
Bash
11 lines
291 B
Bash
|
#!/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
|