diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-07-06 22:01:55 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-07-10 22:21:18 -0700 |
commit | 1bac240ba472e67a2a8d0a5f7874948b992ba462 (patch) | |
tree | bb57aa24efbec6e3bb65d64149e482c959e4c961 /README.md | |
parent | 8319a6d405b6eaf2057bba1df34b971ff546448a (diff) |
Add scoop installation option for windows
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -55,13 +55,33 @@ You can install the homebrew [formula](https://formulae.brew.sh/formula/so) brew install so ``` -#### cargo +#### Windows +If you have [scoop](https://scoop.sh/) you can install via the extras bucket: +```shell +# add extras bucket +scoop bucket add extras + +# install so +scoop install so ``` + +#### from source +For any OS you can install the crate [so](https://crates.io/crates/so) directly: +``` +# everything but windows cargo install so + +# windows +cargo install so --no-default-features --features windows ``` +For more information on the feature flags, see [selecting a +backend](#selecting-a-backend). #### release binaries -Static binaries are available on the [releases page](https://github.com/samtay/so/releases) for common Linux, MacOS, and Windows targets. You can quickly install the one you need to directory `DEST` with: +Static binaries are available on the [releases +page](https://github.com/samtay/so/releases) for common Linux, MacOS, and +Windows targets. You can quickly install the one you need to directory `DEST` +with: ```bash curl --proto '=https' --tlsv1.2 -sSf https://samtay.github.io/so/install.sh \ | bash -s -- --to DEST |