Configure Hackatime - Step 1
{#if !hasHeartbeat}

Waiting for setup...

{statusMessage}

{:else}

Setup complete!

Heartbeat detected {heartbeatTimeAgo}.

{/if}
{#if activeSection === "mac-linux"}

{sharedTitle}

{sharedSubtitle}

Using GitHub Codespaces?

Look for the Terminal tab at the bottom of your window. If you don't see it, press Ctrl+`.

1

Open your terminal

Search for "Terminal" in Spotlight (Mac) or your applications menu.

2

Run the install command

curl -fsSL https://hack.club/setup/install.sh | bash -s -- {current_user_api_key}
Watch video tutorial
{/if} {#if activeSection === "windows"}

{sharedTitle}

{sharedSubtitle}

1

Open PowerShell

Press Win+R, type powershell, and press Enter.

2

Run the install command

Right-click in PowerShell to paste the command.

& ([scriptblock]::Create((irm https://hack.club/setup/install.ps1))) -ApiKey {current_user_api_key}
Watch video tutorial
{/if} {#if activeSection === "advanced"}

{sharedTitle}

{sharedSubtitle}

Create or edit ~/.wakatime.cfg with the following content:

[settings]
api_url = {api_url}
api_key = {current_user_api_key}
heartbeat_rate_limit_seconds = 30
{/if}
Skip to next step