mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
Update installation method (#139)
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
676544b6ab
commit
73ec35f513
@ -3,7 +3,7 @@
|
||||
[](https://circleci.com/gh/anchore/syft)
|
||||
[](https://goreportcard.com/report/github.com/anchore/syft)
|
||||
[](https://github.com/anchore/syft/releases/latest)
|
||||
[](https://github.com/anchore/syft/blob/master/LICENSE)
|
||||
[](https://github.com/anchore/syft/blob/main/LICENSE)
|
||||
|
||||
A CLI tool and go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.
|
||||
|
||||
@ -48,10 +48,10 @@ syft <image> -o text
|
||||
**Recommended**
|
||||
```bash
|
||||
# install the latest version to /usr/local/bin
|
||||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/master/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
|
||||
|
||||
# install a specific version into a specific dir
|
||||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/master/install.sh | sh -s <RELEASE_VERSION> -b <SOME_BIN_PATH>
|
||||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s <RELEASE_VERSION> -b <SOME_BIN_PATH>
|
||||
```
|
||||
|
||||
**macOS**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user