install pyenv on osx

나의 IT 2016.05.04 16:11 |

# install the CLI tools

xcode-select --install


# update brew index

brew update; brew upgrade; brew cleanup


# install pyenv

brew install pyenv


# edit profile - end of file

vim ~/.zshrc


export PYENV_ROOT="$HOME/.pyenv"

export PATH="$PYENV_ROOT/bin:$PATH"

eval "$(pyenv init -)"

# .bashprofile instead of .pyenv if you use default shell


# restart shell

$SHELL -l


Fin~

Posted by B급 개발자 Mr. K
TAG , ,

댓글을 달아 주세요