How can pyenv be installed for all users?
add a comment
To install pyenv for all users, you can follow these steps:
$ git clone https://github.com/pyenv/pyenv.git /usr/local/pyenv
$ chown -R root:staff /usr/local/pyenv
$ chmod -R 775 /usr/local/pyenv
export PATH="/usr/local/pyenv/bin:$PATH"
This will ensure that all users on the system can access pyenv.
$ source /etc/profile
$ pyenv -v
This should display the version of pyenv installed on the system.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-06-30 11:00:00 +0000
Seen: 1 times
Last updated: Jun 16 '22