Check if UWF it’s installed

Then you need to check that by entering the following commands…

How to check if UFW is installed?

VirtualPrivateServer$apt-cache policy ufw

OR

Use check installed program version?

VirtualPrivateServer$ufw --version