Docs / Getting Started / Installation
Add Plugins to Your Editor
Here's how to add WakaTime plugins to your code editor so Hackatime can track your coding time.
What You Need
Before you start, make sure you have:
- A code editor (like VS Code, PyCharm, Vim, etc.)
- A Hackatime account
Step 1: Do the Automated Setup
First, use the setup page! It automatically sets up your API key and endpoint so everything works perfectly.
Step 2: Add WakaTime Plugin
After doing the automated setup, install the WakaTime plugin for your editor:
VS Code
- Open VS Code
- Click the Extensions button (or press Ctrl+Shift+X)
- Type "WakaTime" in the search box
- Click Install
PyCharm / IntelliJ
- Go to File → Settings (on Mac: IntelliJ IDEA → Preferences)
- Click Plugins
- Type "WakaTime" in the search box
- Install and restart your app
Vim
Copy and paste this into your terminal:
git clone https://github.com/wakatime/vim-wakatime.git ~/.vim/bundle/vim-wakatime
Sublime Text
- Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "Install Package"
- Type "WakaTime"
- Install it
Other Editors
Visit wakatime.com/plugins to find plugins for 40+ other editors.
Already Have the Plugin Installed?
If you already have a WakaTime plugin, just run the setup page to switch it to Hackatime. It will automatically update your settings.
Check If It's Working
After setup, start coding! Your time will show up on your Hackatime dashboard in a few minutes.
Need Help?
- Not seeing your time? Make sure the API URL is set correctly
- Plugin not working? Try closing and opening your editor again
- Still stuck? Ask for help in Hack Club Slack (#hackatime-dev channel)
Found an issue with this page? Edit it on GitHub - we'd love your help making the docs better!