Point 1.
I am pretty sure it doesn’t work on mac. with apt commands.
Point 2.
Check your ports on VPS. Script and Pangolin run on the same ports.
Point.3 Rescue yourself. Run this on VPS
How to Revert WireGuard VPN Server Setup Changes
1. Stop and Disable the WireGuard Service
First, stop the running WireGuard interface and disable the service:
sudo wg-quick down wg0
sudo systemctl disable wg-quick@wg0
2. Remove WireGuard Configuration Files
Delete all the created configuration files and directories:
sudo rm -rf /etc/wireguard/keys
sudo rm -rf /etc/wireguard/clients
sudo rm -f /etc/wireguard/wg0.conf
sudo rm -rf /etc/wireguard/backup
sudo rm -f /var/log/wireguard-setup.log
6. Uninstall WireGuard Packages
If you don’t need WireGuard for anything else:
sudo apt remove --purge wireguard qrencode
sudo apt autoremove
7. Verify Cleanup
Check that the WireGuard interface is gone:
ip a | grep wg0
There should be no output if the interface was successfully removed.