Add documentation on uninstalling asdf.

This commit is contained in:
Trevor Brown 2017-10-23 11:06:48 +03:00
parent 8a2fd85529
commit 8946fbd3c3
2 changed files with 15 additions and 0 deletions

View File

@ -190,6 +190,10 @@ legacy_version_file = yes
* `legacy_version_file` - defaults to `no`. If set to yes it will cause plugins that support this feature to read the version files used by other version managers (e.g. `.ruby-version` in the case of Ruby's rbenv). * `legacy_version_file` - defaults to `no`. If set to yes it will cause plugins that support this feature to read the version files used by other version managers (e.g. `.ruby-version` in the case of Ruby's rbenv).
## Uninstall
[Uninstalling asdf is easy](https://github.com/asdf-vm/asdf/blob/master/docs/uninstall.md).
## Docker images ## Docker images
The [asdf-alpine](https://github.com/vic/asdf-alpine) and [asdf-ubuntu](https://github.com/vic/asdf-ubuntu) projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps. The [asdf-alpine](https://github.com/vic/asdf-alpine) and [asdf-ubuntu](https://github.com/vic/asdf-ubuntu) projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps.

11
docs/uninstall.md Normal file
View File

@ -0,0 +1,11 @@
## Uninstalling asdf
1. In your `.bashrc` (or `.bash_profile` if you are on OSX) or `.zshrc` find the lines that source `asdf.sh` and the autocompletions. The lines should look something like this:
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
Remove these lines and save the file.
2. Run `rm -rf ~/.asdf/` to completely remove all the asdf files from your system.
That's it!