FossID Documentation

Installation in MacOS

Follow the steps below to install FossID CLI-Tools on an Apple computer.

Note: The FossID CLI-Tools require Java, so prior to installing it please install OpenJDK from the OpenJDK installation page or from Java Downloads if you have a license.

  1. Extract FossID CLI-Tools deliverable.
  2. Install the FossID macos executable in the /usr/local/bin/:
    sudo install -m 755 fossid-cli /usr/local/bin/
    sudo install -m 644 fossid.conf /usr/local/bin/
    sudo install -m 644 shinobi.jar /usr/local/bin/
    sudo xattr -d com.apple.quarantine /usr/local/bin/fossid-cli
    
  3. Configure your FossID CLI by editing the file fossid.conf and entering the cli_server_host and cli_token information. The token is unique to each customer and is required to perform scans, and you can get it from the delivery portal. If you do not use the FossID servers for scanning, the tokens are administered by your scan server administrator. The token serves as a key when using FossID’s servers to scan the knowledge base.
[CLI]

;FOSSID CLI CONFIGURATION

;Server credentials
;-------------------------
;You need a server host name and a scanning token in 
;order for the FOSSID CLI to obtain scan results

cli_server_host = YOUR_SERVER_HOST
cli_token = YOUR_TOKEN