Skip to content

Commit

Permalink
Add nix install details
Browse files Browse the repository at this point in the history
Signed-off-by: 06kellyjac <jack@control-plane.io>
  • Loading branch information
06kellyjac committed Feb 7, 2022
1 parent 37251f6 commit 2898ba6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ If you encounter an issue, please [let us know using the issue tracker](https://

## Installation

**Note**: Currently, Syft is built only for Linux, macOS and Windows.

### Recommended
```bash
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
Expand All @@ -48,7 +50,17 @@ brew tap anchore/syft
brew install syft
```

**Note**: Currently, Syft is built only for macOS and Linux.
### Nix

```bash
nix-env -i syft
```

or just try it out in an ephemeral nix shell

```bash
nix-shell -p syft
```

## Getting started

Expand Down

0 comments on commit 2898ba6

Please sign in to comment.