How to disable powerchime in macOS Catalina?

Solution 1:

Use this Github repo:

curl -sL git.io/powerchime | sh

Run it to either turn it on or off