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

Closed
lewisl opened this issue Nov 1, 2015 · 3 comments

Comments

@lewisl
Copy link

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.

@thomasjo

This comment has been minimized.

Copy link
Contributor

commented Nov 1, 2015

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

rm -rf "$HOME/.pyenv"
@joshfriend

This comment has been minimized.

Copy link
Member

commented Nov 1, 2015

@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
@yyuu

This comment has been minimized.

Copy link
Collaborator

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 Nov 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.