List available python versions:
$ pyenv install -l
Install Python 3.5.1:
$ pyenv install 3.5.1
$ pyenv rehash
List installed versions:
$ pyenv versions
Sets a local application-specific Python version:
$ pyenv local 2.7.6
Unset the local version:
$ pyenv local --unset
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
$ pyenv virtualenvs
From current version with name "venv35":
$ pyenv virtualenv venv35
From version 2.7.10 with name "venv27":
$ pyenv virtualenv 2.7.10 venv27
$ pyenv activate <name>
$ pyenv deactivate
$ pyenv uninstall venv27