2022-11-12 13:52:52 +00:00
|
|
|
#!/bin/bash
|
2023-01-23 14:55:10 +00:00
|
|
|
curl https://pyenv.run | bash;
|
2022-11-12 13:52:52 +00:00
|
|
|
{
|
2023-01-23 14:55:10 +00:00
|
|
|
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;
|