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 | |
parent | 8319a6d405b6eaf2057bba1df34b971ff546448a (diff) |
Add scoop installation option for windows
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | README.md | 24 |
2 files changed, 27 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index da02bf2..d945631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### [Unreleased] +#### Added +- Windows installation option + [lukesampson/scoop-extras#4376](https://github.com/lukesampson/scoop-extras/pull/4376). + Thanks [@laralex](https://github.com/laralex)! + ### [v0.4.1](https://github.com/samtay/so/compare/v0.4.0...v0.4.1) (2020-07-10) #### Added @@ -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 |