Batteries loose the most capacity if the voltage difference is high, or staying at 100%. Hence, if you you use your laptop most of the time plugged in, it will decrease the capacity of the battery quicker than normal.
There are prebuilt binaries for macOS, Windows and Linux [here](https://github.com/CupCakeArmy/volta/releases). However you can also complile them yourself.