Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove pyenv itself #465

lewisl opened this issue Nov 1, 2015 · 3 comments

How to remove pyenv itself #465

lewisl opened this issue Nov 1, 2015 · 3 comments


Copy link

lewisl commented Nov 1, 2015

In typical Linux fashion, each developer considers his code so invaluable that no documented means of removing it is provided. Install results in a sprinkling throughout the file system with a variety of settings that are difficult to completely purge.

Please document safe and complete removal.

Copy link

thomasjo commented Nov 1, 2015

Uhmm... pyenv is self-contained. Just nuke the folder where you cloned the repo, e.g.

rm -rf "$HOME/.pyenv"

Copy link

@thomasjo you also have to remember to remove the lines from your shell environment config that set $PYENV_ROOT and append it to your $PATH:

export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi

Copy link

yyuu commented Nov 12, 2015

Basically uninstallation is just removing ~/.pyenv and shell configurations. To make things better, only PR works.

// I might be going to add some section for uninstallation later since rbenv already has it in its README

@yyuu yyuu closed this as completed Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants