Skip to content

Commit 8cff02b

Browse files
authored
Merge pull request #50 from orhun/docs/add_arch_linux_intructions
Add instructions for installing on Arch Linux
2 parents 3c942fc + 4d79c4e commit 8cff02b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- [Overview](#overview)
66
- [Installation](#installation)
7+
- [Distro Packages](#distro-packages)
8+
- [Arch Linux](#arch-linux)
79
- [Scripts](#scripts)
810
- [Executable Scripts](#executable-scripts)
911
- [Expressions](#expressions)
@@ -35,6 +37,16 @@ cargo install rust-script
3537

3638
Rust 1.47 or later is required.
3739

40+
### Distro Packages
41+
42+
#### Arch Linux
43+
44+
`rust-script` can be installed from the [community repository](https://archlinux.org/packages/community/x86_64/rust-script/):
45+
46+
```sh
47+
pacman -S rust-script
48+
```
49+
3850
## Scripts
3951

4052
The primary use for `rust-script` is for running Rust source files as scripts. For example:

0 commit comments

Comments
 (0)