docs: Add installation instructions for Cargo to README.md (#820)

This commit is contained in:
Kyle J Strand 2020-01-09 15:11:21 -07:00 committed by Matan Kushner
parent 0879381bcd
commit 5ab9ce643a
1 changed files with 7 additions and 1 deletions

View File

@ -138,12 +138,18 @@ The prompt shows information you need while you're working, while staying sleek
#### Install Latest Version
##### With Shell:
##### From prebuilt binary, with Shell:
```sh
curl -fsSL https://starship.rs/install.sh | bash
```
##### From source on [crates.io](https://crates.io/):
```sh
cargo install starship
```
#### Install via Package Manager
##### With [Homebrew](https://brew.sh/):