mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 21:17:45 +00:00
docs: simplify installation
- I was running Alejandra on my android mobile phone, and the installers were not helpful, so lets just stick to the basics
This commit is contained in:
parent
f354cd50ff
commit
a8bd2c82e4
3 changed files with 3 additions and 34 deletions
19
README.md
19
README.md
|
@ -105,9 +105,7 @@ Please visit:
|
||||||
|
|
||||||
### Prebuilt binaries
|
### Prebuilt binaries
|
||||||
|
|
||||||
You can download a binary for your platform,
|
You can download a binary for your platform:
|
||||||
make it executable (`$ chmod +x`)
|
|
||||||
and have fun!
|
|
||||||
|
|
||||||
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-aarch64-unknown-linux-musl)
|
- [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)
|
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv6l-unknown-linux-musleabihf)
|
||||||
|
@ -115,19 +113,8 @@ and have fun!
|
||||||
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-i686-unknown-linux-musl)
|
- [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)
|
- [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.
|
Make it executable (`$ chmod +x`)
|
||||||
It needs:
|
and run Alejandra with:
|
||||||
[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:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./alejandra --help
|
$ ./alejandra --help
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
releases=https://github.com/kamadorueda/alejandra/releases/download/
|
|
||||||
target=alejandra-aarch64-unknown-linux-musl
|
|
||||||
version=0.6.0
|
|
||||||
|
|
||||||
curl -o alejandra -L "${releases}/${version}/${target}"
|
|
||||||
|
|
||||||
chmod +x alejandra
|
|
|
@ -1,9 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
releases=https://github.com/kamadorueda/alejandra/releases/download/
|
|
||||||
target=alejandra-x86_64-unknown-linux-musl
|
|
||||||
version=0.6.0
|
|
||||||
|
|
||||||
curl -o alejandra -L "${releases}/${version}/${target}"
|
|
||||||
|
|
||||||
chmod +x alejandra
|
|
Loading…
Add table
Add a link
Reference in a new issue