Skip to content

Commit c0f60da

Browse files
authored
docs: tweak installation layout (#223)
1 parent 42aa8c4 commit c0f60da

File tree

1 file changed

+37
-15
lines changed

1 file changed

+37
-15
lines changed

Diff for: docs/installation.md

+37-15
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,52 @@ description: Installation instructions for zizmor.
44

55
# Installation
66

7-
## From crates.io
7+
## From package managers
88

9-
You can install `zizmor` from <https://crates.io> with `cargo`:
9+
`zizmor` is available within several packaging ecosystems.
1010

11-
```bash
12-
cargo install zizmor
13-
```
11+
=== "crates.io"
1412

15-
## From Homebrew
13+
You can install `zizmor` from <https://crates.io> with `cargo`:
1614

17-
`zizmor` is provided by [Homebrew](https://brew.sh/) as well:
15+
```bash
16+
cargo install zizmor
17+
```
1818

19-
```bash
20-
brew install zizmor
21-
```
19+
=== "Homebrew"
20+
21+
`zizmor` is provided by [Homebrew](https://brew.sh/):
22+
23+
```bash
24+
brew install zizmor
25+
```
26+
27+
=== "Nix"
28+
29+
!!! note
30+
31+
This is a community-maintained package.
32+
33+
```bash
34+
# without flakes
35+
nix-env -iA nixos.zizmor
36+
37+
# with flakes
38+
nix profile install nixpkgs#zizmor
39+
```
40+
41+
=== "Other ecosystems"
42+
43+
!!! info
44+
45+
Are you interested in packaging `zizmor` for another ecosystem?
46+
Let us know by [filing an issue](https://github.com/woodruffw/zizmor/issues/new)!
2247

23-
## Other package managers
48+
The badge below tracks `zizmor`'s overall packaging status.
2449

25-
!!! info
50+
[![Packaging status](https://repology.org/badge/vertical-allrepos/zizmor.svg)](https://repology.org/project/zizmor/versions)
2651

27-
Are you interested in packaging `zizmor` for another ecosystem?
28-
Let us know by [filing an issue](https://github.com/woodruffw/zizmor/issues/new)!
2952

30-
[![Packaging status](https://repology.org/badge/vertical-allrepos/zizmor.svg)](https://repology.org/project/zizmor/versions)
3153

3254
## From source
3355

0 commit comments

Comments
 (0)