PVS-Studio is distributed as a graphical installer, archive or via the Homebrew repository. Using installation from a repository, you can get analyzer updates automatically. The distribution kit includes the following files:
You can install the analyzer using the following methods:
Installation:
brew install viva64/pvs-studio/pvs-studio
Update:
brew upgrade pvs-studio
Run the .pkg file and follow the instructions of the installer:
Unpack the archive and place the executables in the directory, available in PATH.
tar -xzf pvs-studio-VERSION.tgz
After a successful analyzer installation on your computer, to check a project follow the instructions on this page: "How to run PVS-Studio on Linux and macOS".