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
Closed

How to remove pyenv itself #465

lewisl opened this issue Nov 1, 2015 · 3 comments

Comments

@lewisl
Copy link

@lewisl 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.

@thomasjo
Copy link
Contributor

@thomasjo 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"

Loading

@joshfriend
Copy link
Member

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

Loading

@yyuu
Copy link
Collaborator

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

Loading

@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants