add homebrew section to readme and reorganize slightly

This commit is contained in:
Joe Snell 2019-01-04 10:40:14 -06:00
parent ed3063ac30
commit 4b65669457

View File

@ -8,7 +8,11 @@ Supporting a new language is as simple as [this plugin API][plugin_api].
[plugins]: https://github.com/asdf-vm/asdf-plugins
[plugin_api]: https://github.com/asdf-vm/asdf/blob/master/docs/creating-plugins.md
## SETUP
## INSTALLATION
If you're on macOS you can [Install using Homebrew](https://github.com/asdf-vm/asdf#homebrew-with-macos)
### Basic Installation
Copy-paste the following into command line:
@ -18,6 +22,8 @@ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.6.2
Depending on your OS and shell, run the following:
### Setup
* Bash on Ubuntu (and other Linux distros):
```bash
@ -312,6 +318,15 @@ managers (e.g. `.ruby-version` in the case of Ruby's rbenv).
[Uninstalling asdf is easy](https://github.com/asdf-vm/asdf/blob/master/docs/uninstall.md).
### Homebrew on macOS
You can also install asdf using the Homebrew package manager for macOS.
$ brew update
$ brew install asdf
To upgrade asdf in the future, use upgrade instead of install.
Then follow the rest of the post-installation steps under the [Setup](https://github.com/asdf-vm/asdf#setup) section above.
## Docker images
The [asdf-alpine][asdf-alpine] and [asdf-ubuntu][asdf-ubuntu] projects are an