mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
Update README for secure macOS releases
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
c878cc361c
commit
501870f89f
@ -54,7 +54,7 @@ Where the `format`s available are:
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
**Recommended**
|
**Recommended (macOS and Linux)**
|
||||||
```bash
|
```bash
|
||||||
# install the latest version to /usr/local/bin
|
# install the latest version to /usr/local/bin
|
||||||
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
|
||||||
@ -63,17 +63,12 @@ curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -
|
|||||||
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b <SOME_BIN_PATH> <RELEASE_VERSION>
|
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b <SOME_BIN_PATH> <RELEASE_VERSION>
|
||||||
```
|
```
|
||||||
|
|
||||||
**macOS**
|
**Homebrew (macOS)**
|
||||||
```bash
|
```bash
|
||||||
brew tap anchore/syft
|
brew tap anchore/syft
|
||||||
brew install syft
|
brew install syft
|
||||||
```
|
```
|
||||||
|
|
||||||
You may experience a "macOS cannot verify app is free from malware" error upon running Syft because it is not yet signed and notarized. You can override this using `xattr`.
|
|
||||||
```bash
|
|
||||||
xattr -rd com.apple.quarantine syft
|
|
||||||
```
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Configuration search paths:
|
Configuration search paths:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user