pip3 install wakatime
git clone https://github.com/gjsheep/bash-wakatime.git
Include the bash-wakatime.sh file in your ~/.bashrc file.
bash-wakatime.sh
~/.bashrc
source $HOME/.config/bash-wakatime/bash-wakatime.sh
Make sure your API Key is in your ~/.wakatime.cfg file.
~/.wakatime.cfg