The WakaTime CLion plugin is open-source on GitHub.
Inside CLion, select Preferences → Plugins → Browse Repositories….
Search for wakatime.
Click the green Install Plugin button and confirm the installation.
Enter your API key
, then click Save.
Use CLion like you normally do and your coding activity will be displayed on your WakaTime Dashboard.
The plugin will be kept up-to-date automatically.
Inside CLion, select Preferences → Plugins.
Search for WakaTime.
Click the Uninstall plugin button and confirm the uninstalling.