Skip to content

Installation

You can installed pre-built binaries of VulnAPI on Linux, Windows, and MacOS.

Below are the instructions to install VulnAPI on Linux, Windows, MacOS, and Docker. You can choose the installation method that best suits your needs and environment.

You can install VulnAPI on Linux using Snap.

Terminal window
sudo snap install vulnapi

Verify:

Terminal window
vulnapi --version

Download the latest VulnAPI release and install it using dpkg.

Terminal window
sudo dpkg -i vulnapi.deb

Verify:

Terminal window
vulnapi --version

Download the latest VulnAPI release and install it using rpm -i.

Terminal window
sudo rpm -i vulnapi.rpm

Verify:

Terminal window
vulnapi --version

You can install VulnAPI on Linux by downloading the latest VulnAPI release and extracting the contents of the ZIP file. After extracting the contents, run the vulnapi binary from the command line.

Verify:

Terminal window
vulnapi --version

You can install VulnAPI on Windows using Chocolatey.

Terminal window
choco install vulnapi

You can also install VulnAPI on Windows by downloading the latest VulnAPI release and extracting the contents of the ZIP file. After extracting the contents, you can run the vulnapi.exe binary from the command line.

Verify:

Terminal window
vulnapi --version

You can install VulnAPI on MacOS using Homebrew. To do so, run the following command:

Terminal window
brew tap cerberauth/vulnapi https://github.com/cerberauth/vulnapi
brew install $(brew --repository cerberauth/vulnapi)/vulnapi.rb

Verify:

Terminal window
vulnapi --version

You can also use VulnAPI as a Docker container with VulnaAPI Docker Image. To do so, run the following command:

Terminal window
docker run --rm cerberauth/vulnapi scan curl [API_URL] [CURL_OPTIONS]

VulnAPI can be integrated into your CI/CD pipeline using GitHub Actions. Integrating VulnAPI with GitHub Actions enables you to scan your APIs for vulnerabilities and security risks as part of your CI/CD pipeline. This allows you to automate security testing and vulnerability scanning of your APIs as part of your development workflow, ensuring that your APIs are secure and free from vulnerabilities before they are deployed to production.

Keep VulnAPI up to date to get the latest vulnerability checks and bug fixes.

PlatformCommand
Snapsudo snap refresh vulnapi
Chocolateychoco upgrade vulnapi
Homebrewbrew upgrade vulnapi
Dockerdocker pull cerberauth/vulnapi

For APT/RPM installations, download the latest release package and reinstall using the same commands as above.