Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: simplify installation #209

Merged
merged 1 commit into from Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 3 additions & 16 deletions README.md
Expand Up @@ -105,29 +105,16 @@ Please visit:

### Prebuilt binaries

You can download a binary for your platform,
make it executable (`$ chmod +x`)
and have fun!
You can download a binary for your platform:

- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-aarch64-unknown-linux-musl)
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv6l-unknown-linux-musleabihf)
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv7l-unknown-linux-musleabihf)
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-i686-unknown-linux-musl)
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-x86_64-unknown-linux-musl)

Alternatively there is an automated method for some platforms.
It needs:
[curl](https://curl.se/),
[sh](https://www.gnu.org/software/bash/) and
[chmod](https://www.gnu.org/software/coreutils/):

- aarch64-linux:
`$ curl https://raw.githubusercontent.com/kamadorueda/alejandra/main/installers/aarch64-linux.sh | sh`

- x86_64-linux:
`$ curl https://raw.githubusercontent.com/kamadorueda/alejandra/main/installers/x86_64-linux.sh | sh`

Then run Alejandra with:
Make it executable (`$ chmod +x`)
and run Alejandra with:

```bash
$ ./alejandra --help
Expand Down
9 changes: 0 additions & 9 deletions installers/aarch64-linux.sh

This file was deleted.

9 changes: 0 additions & 9 deletions installers/x86_64-linux.sh

This file was deleted.