Skip to content

Commit

Permalink
docs: add MacPorts install instructions (#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
herbygillot committed Aug 17, 2022
1 parent f369bd3 commit 3cd10b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -40,6 +40,7 @@ Get Trivy by your favorite installation method. See [installation] section in th
- `apt-get install trivy`
- `yum install trivy`
- `brew install aquasecurity/trivy/trivy`
- `sudo port install trivy`
- `docker run aquasec/trivy`
- Download binary from https://github.com/aquasecurity/trivy/releases/latest/

Expand Down
10 changes: 10 additions & 0 deletions docs/getting-started/installation.md
Expand Up @@ -68,6 +68,16 @@ You can use homebrew on macOS and Linux.
brew install aquasecurity/trivy/trivy
```

## MacPorts

You can also install `trivy` via [MacPorts](https://www.macports.org) on macOS:

```bash
sudo port install trivy
```

More info [here](https://ports.macports.org/port/trivy/).

## Nix/NixOS

Direct issues installing `trivy` via `nix` through the channels mentioned [here](https://nixos.wiki/wiki/Support)
Expand Down

0 comments on commit 3cd10b2

Please sign in to comment.