Pyenv is a simple Python version manager that can manage and install different versions of Python. But STOP!!
Did you get homebrew yet? Pynev is installed using homebrew. So first, we must install pyenv using homebrew:
$ brew install pyenv
Also remember, to upgrade pyenv in the future, use upgrade instead of install. After installing, add pyenv init to your shell to enable shims and autocompletion.