10 lines
291 B
Bash
Executable file
10 lines
291 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
|