Install pyenv for every user

Viewed 303

I would like to install pyenv on a shared server (a gitlab runner) so that it is set up for every user. How can ! adapt the official docs to suit this? Two specific questions:

  1. When it says git clone https://github.com/pyenv/pyenv.git ~/.pyenv, since this would save to my home directory, I would imagine it should be saved somewhere else. Where would be the recommended place to clone this?

  2. Where it says to set up the environment variables in .bash_profile, these environmental variables would only affect my user. Where would be the recommendd place to set these variables so that they are set for every user?

TIA

0 Answers
Related