pyenv / pyenv-installer

This tool is used to install `pyenv` and friends.
MIT License
3.96k stars 428 forks source link

Change default installation location? #118

Closed VikashKothary closed 3 years ago

VikashKothary commented 3 years ago

Is there a reason the default installation location for pyenv in the home directory?

I would have expected installing somewhere like /opt/pyenv?

native-api commented 3 years ago

Regular users don't have write permissions outside of $HOME.

You can install Pyenv anywhere, it will work the same as long as you set up envvars correctly and you have filesystem permissions whenever they are needed.