We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Follow the instructions under "installing" on MELPA's getting started page. (Doom users see these instructions instead)
Restart Emacs, to make it reloads your init file.
Run M-x package-list-packages.
Find the wakatime-mode package in the list of packages, and move the cursor there.
Press i to mark the package for installation.
Press x to execute the commands and install the marked wakatime-mode package.
Enter your API Key, then press Enter.
Install wakatime cli with sudo pip install wakatime or by downloading the GitHub repo.
sudo pip install wakatime
Find the path to wakatime cli with which wakatime or use the absolute path to wakatime/cli.py inside the GitHub repo you downloaded.
Enter the path to wakatime cli, then press Enter.
Add (global-wakatime-mode) to your init.el file, then restart Emacs.
Use Emacs with wakatime-mode turned on and your stats will automatically show on your https://wakatime.com/dashboard.