mirror of
https://github.com/zizmorcore/zizmor.git
synced 2025-12-23 08:47:33 +00:00
Some checks failed
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Test site build (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Build Windows wheels (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Build macOS wheels (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Build source distribution (push) Has been cancelled
Deploy zizmor documentation site 🌐 / Deploy zizmor documentation to GitHub Pages 🌐 (push) Has been cancelled
GitHub Actions Security Analysis with zizmor 🌈 / Run zizmor 🌈 (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Build Linux wheels (manylinux) (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Build Linux wheels (musllinux) (push) Has been cancelled
CI / All tests pass (push) Has been cancelled
zizmor wheel builds for PyPI 🐍 / Release (push) Has been cancelled
Signed-off-by: William Woodruff <william@yossarian.net>
185 lines
4.9 KiB
Markdown
185 lines
4.9 KiB
Markdown
---
|
|
description: Installation instructions for zizmor.
|
|
---
|
|
|
|
# Installation
|
|
|
|
## From package managers
|
|
|
|
`zizmor` is available within several packaging ecosystems.
|
|
|
|
=== ":simple-homebrew: Homebrew"
|
|
|
|

|
|
|
|
`zizmor` is provided by [Homebrew](https://brew.sh/):
|
|
|
|
```bash
|
|
brew install zizmor
|
|
```
|
|
|
|
=== ":simple-pypi: PyPI"
|
|
|
|

|
|
|
|
`zizmor` is available on [PyPI](https://pypi.org) and can be installed
|
|
with any Python package installer.
|
|
|
|
!!! important
|
|
|
|
Python wheels for `zizmor` are provided on a best-effort basis,
|
|
with priority given to the most common architectures and host OSes.
|
|
|
|
|
|
```bash
|
|
# with pip
|
|
pip install zizmor
|
|
|
|
# with pipx
|
|
pipx install zizmor
|
|
|
|
# with uv
|
|
uv tool install zizmor
|
|
|
|
# or, shortcut:
|
|
uvx zizmor --help
|
|
```
|
|
|
|
=== ":simple-rust: crates.io"
|
|
|
|

|
|
|
|
You can install `zizmor` from [crates.io](https://crates.io) with `cargo`:
|
|
|
|
!!! note
|
|
|
|
Passing `--locked` to `cargo install` is **strongly recommended**,
|
|
as an unlocked build may pull in different dependency versions
|
|
than have been tested upstream. See rust-lang/cargo!7169 for context.
|
|
|
|
```bash
|
|
cargo install --locked zizmor
|
|
```
|
|
|
|
=== ":simple-docker: Docker"
|
|
|
|
An official `zizmor` image is available from the [GitHub Container Registry](https://ghcr.io/zizmorcore/zizmor):
|
|
|
|
```bash
|
|
docker pull ghcr.io/zizmorcore/zizmor:latest
|
|
```
|
|
|
|
=== ":simple-anaconda: Conda"
|
|
|
|
[](https://anaconda.org/conda-forge/zizmor)
|
|
[](https://anaconda.org/conda-forge/zizmor)
|
|
[](https://anaconda.org/conda-forge/zizmor)
|
|
|
|
!!! note
|
|
|
|
This is a community-maintained package.
|
|
|
|
`zizmor` is available on Anaconda's conda-forge:
|
|
|
|
```bash
|
|
conda install conda-forge::zizmor
|
|
```
|
|
|
|
See [conda-forge/zizmor](https://anaconda.org/conda-forge/zizmor)
|
|
for additional information.
|
|
|
|
|
|
=== ":material-nix: Nix"
|
|
|
|
[](https://repology.org/project/zizmor/versions)
|
|
|
|
!!! note
|
|
|
|
This is a community-maintained package.
|
|
|
|
```bash
|
|
# without flakes
|
|
nix-env -iA nixos.zizmor
|
|
|
|
# with flakes
|
|
nix profile install nixpkgs#zizmor
|
|
```
|
|
|
|
=== ":simple-archlinux: Arch Linux"
|
|
|
|
[](https://repology.org/project/zizmor/versions)
|
|
|
|
!!! note
|
|
|
|
This is a community-maintained package.
|
|
|
|
```bash
|
|
# zizmor-git is also available in the AUR
|
|
pacman -S zizmor
|
|
```
|
|
|
|
=== "Chimera Linux"
|
|
|
|
[](https://repology.org/project/zizmor/versions)
|
|
|
|
!!! note
|
|
|
|
This is a community-maintained package.
|
|
|
|
`zizmor` is available in the [Chimera Linux user repo](https://chimera-linux.org/docs/apk#repositories):
|
|
|
|
```bash
|
|
# If you don't have the 'user' repo enabled yet, do that first
|
|
apk add chimera-repo-user
|
|
|
|
apk add zizmor
|
|
```
|
|
|
|
=== ":simple-alpinelinux: Alpine Linux"
|
|
|
|
[](https://repology.org/project/zizmor/versions)
|
|
|
|
!!! note
|
|
|
|
This is a community-maintained package.
|
|
|
|
```bash
|
|
apk add zizmor
|
|
```
|
|
|
|
=== "Other ecosystems"
|
|
|
|
!!! info
|
|
|
|
Have you packaged `zizmor` for another ecosystem?
|
|
Let us know by [filing an issue](https://github.com/zizmorcore/zizmor/issues/new)!
|
|
|
|
The badge below tracks `zizmor`'s overall packaging status.
|
|
|
|
[](https://repology.org/project/zizmor/versions)
|
|
|
|
## From source
|
|
|
|
!!! warning
|
|
|
|
Most ordinary users **should not** install directly from `zizmor`'s
|
|
source repository. No stability or correctness guarantees are made about
|
|
direct source installations.
|
|
|
|
You can install the latest unstable `zizmor` directly from GitHub with `cargo`:
|
|
|
|
```bash
|
|
cargo install --git https://github.com/zizmorcore/zizmor
|
|
```
|
|
|
|
## From GitHub release binaries
|
|
|
|
!!! warning
|
|
|
|
Most ordinary users **should not** install the binaries from
|
|
`zizmor`'s GitHub releases. Binaries are provided on a best-effort basis,
|
|
and may be subject to libc and other compatibility issues.
|
|
|
|
`zizmor`'s GitHub releases contain pre-built binaries for several platforms
|
|
and architectures. You can find them at
|
|
<https://github.com/zizmorcore/zizmor/releases/latest>.
|