mirror of
https://github.com/anchore/syft.git
synced 2026-02-14 11:36:42 +01:00
Add nix install details (#800)
Signed-off-by: 06kellyjac <jack@control-plane.io>
This commit is contained in:
parent
a04fa68539
commit
5ab872c732
18
README.md
18
README.md
@ -31,6 +31,8 @@ If you encounter an issue, please [let us know using the issue tracker](https://
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
**Note**: Currently, Syft is built only for Linux, macOS and Windows.
|
||||||
|
|
||||||
### Recommended
|
### Recommended
|
||||||
```bash
|
```bash
|
||||||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
|
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
|
||||||
@ -48,7 +50,21 @@ brew tap anchore/syft
|
|||||||
brew install syft
|
brew install syft
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**: Currently, Syft is built only for macOS and Linux.
|
### Nix
|
||||||
|
|
||||||
|
**Note**: nix packaging of Syft is [community maintained](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/admin/syft/default.nix)
|
||||||
|
|
||||||
|
Also syft is currently only in the [unstable channel](https://nixos.wiki/wiki/Nix_channels#The_official_channels) awaiting the `22.05` release
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix-env -i syft
|
||||||
|
```
|
||||||
|
|
||||||
|
... or, just try it out in an ephemeral nix shell
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix-shell -p syft
|
||||||
|
```
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user