Direct links to download the distributions are available on the download page.
To run pvs-js, Node.js versions 18-24, npm, and PVS-Studio C++ analyzer are required.
To install pvs-js via a package manager, the dependencies are installed automatically. When installing from an archive, install the C++ analyzer and the other dependencies manually. See the relevant documentation sections for installation instructions on Linux and macOS.
To install pvs-js, select the JavaScript and TypeScript analysis engine option. pvs-js requires Node.js version 18-24. If Node.js is not installed on your system, the installer will offer to install it. On the installer page, you can also choose to install the WebStorm plugin.

For debian-based systems
Before Debian 11 and Ubuntu 22.04:
wget -q -O - https://wcdn.pvs-studio.com/etc/pubkey.txt | \
sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://wcdn.pvs-studio.com/etc/viva64.list
sudo apt-get update
sudo apt-get install pvs-js
Debian 11 and Ubuntu 22.04 and newer:
wget -qO- https://wcdn.pvs-studio.com/etc/pubkey.txt | \
sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/viva64.gpg
sudo wget -O /etc/apt/sources.list.d/viva64.list \
https://wcdn.pvs-studio.com/etc/viva64.list
sudo apt-get update
sudo apt-get install pvs-js
For yum-based systems:
wget -O /etc/yum.repos.d/viva64.repo \
https://wcdn.pvs-studio.com/etc/viva64.repo
yum update
yum install pvs-js
For zypper-based systems:
wget -q -O /tmp/viva64.key \
https://wcdn.pvs-studio.com/etc/pubkey.txt
sudo rpm --import /tmp/viva64.key
sudo zypper ar -f https://wcdn.pvs-studio.com/rpm viva64
sudo sed -i \
's|enabled=1|enabled=1\ngpgkey=https://wcdn.pvs-studio.com/etc/pubkey.txt|' \
/etc/zypp/repos.d/viva64.repo
sudo zypper refresh
sudo zypper install pvs-js
To install, use the following command:
Deb package
sudo gdebi pvs-js-VERSION.deb
or
sudo apt-get -f install pvs-js-VERSION.deb
Rpm package
sudo dnf install pvs-js-VERSION.rpm
or
sudo zypper install pvs-js-VERSION.rpm
or
sudo yum install pvs-js-VERSION.rpm
or
sudo rpm -i pvs-js-VERSION.rpm
Archive
tar -xzf pvs-js-VERSION.tar.gz
sudo ./install.sh
Installation commands:
brew install viva64/pvs-studio/pvs-js
Update commands:
brew upgrade pvs-studio-js
Run the .pkg file and follow the instructions. On the Installation Type page, click the Customize button and select the components you want to install.

To install from the archive, run:
unzip pvs-js-VERSION.zip
sudo ./install.sh