How to install pyenv

In this article let’s discuss about How to install pyenv. Let’s go through the following methods without any delay.

Method 1:

# Linux and Mac only (at the moment)
curl https://pyenv.run | bash

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

pyenv install --list | awk '{print $1}' | grep -v - | grep -v 'a\|b\|c\|m' | tail -1

Hope the above solution works.

Realted Posts : Git how to make shallow clone with all branches