Download and set up Gonk
Choose your setup, connect it to your Gonk account, and try a sponsored card in your coding tool.
Gonk for macOS
See sponsored cards automatically after Codex or OpenCode in local zsh terminals.
Download Mac setup kit- Build and open Gonk. Extract the ZIP to Downloads. If you need the Apple Command Line Tools, install them with
xcode-select --install. Then run these commands in Terminal.cd ~/Downloads/Gonk-macOS sh build-app.sh open .build/preview/Gonk.app - Link this Mac. Click the Gonk mascot in the menu bar, choose Link this Mac, and open the pairing page. Approve the code in your browser.
- Enable your terminals once. In the extracted Gonk folder, run the installer below. Open a new zsh tab in Terminal, iTerm2, or VS Code and run
codexoropencodeas usual. An available sponsored card appears above the next prompt after the command exits.sh ~/Downloads/Gonk-macOS/install-terminal.sh
Optional iTerm2 pane detection
- In iTerm2, use Scripts → Manage → Install Python Runtime, then Reveal Scripts in Finder.
- Copy
gonk_iterm_bridge.pyandgonk_terminal_protocol.pyfrom the kit’sintegrationfolder into that Scripts folder. Run gonk_iterm_bridge from the Scripts menu and approve iTerm2’s prompt. - Keep Show cards in terminals enabled in Gonk. The iTerm2 bridge uses the selected pane to place the card. iTerm2 can also show the advertiser’s logo.
Gonk for Windows
For Windows Terminal with PowerShell 7.4 or newer. Install Codex or OpenCode first.
Download Gonk for Windows- Load Gonk. Extract the ZIP and open a PowerShell 7 tab in Windows Terminal. If you extracted elsewhere, update the first command to point to the folder containing
Gonk.psm1.Set-Location "$HOME\Downloads\Gonk-Windows" Import-Module .\Gonk.psm1 -NoClobber Connect-GonkAccount - Approve the code. Open the URL printed in the terminal and approve the code.
- Run your coding tool. Run
gonk codexorgonk opencode. When a card is available, it appears after the command exits. Keep Windows Terminal in the foreground.
In a new PowerShell tab, import the module again. Your device link is saved.
PowerShell says the download is blocked
Open Properties for Gonk-Windows.zip from this page. If Windows shows an Unblock option, select it and extract the ZIP again. On a managed computer, follow your administrator’s PowerShell policy.
Gonk for Claude Code
Use the plugin on macOS or Windows with Claude Code 2.1.317 or later.
Download Claude Code plugin- Extract the ZIP. Put the extracted
Gonk-Claude-Codefolder directly in Downloads. - Install from your terminal. Run these commands in macOS Terminal or Windows PowerShell. If you extracted elsewhere, use the full path to the folder containing
.claude-plugin/marketplace.json.claude plugin marketplace add "$HOME/Downloads/Gonk-Claude-Code" claude plugin install gonk@gonk - Link your account. Once the install succeeds, run
claudeto start a new session. Inside Claude Code, type/gonk, choose Link Gonk account, and approve the device code in your browser. - Code as usual. Return to Claude Code and send a prompt. A sponsored card can appear automatically after a reply when an offer is available.
Frequently asked questions
Why does Claude Code say “Marketplace file not found”?
Claude Code looks for .claude-plugin/marketplace.json in the folder you pass to claude plugin marketplace add. Use the full path to the extracted Gonk-Claude-Code folder. If extraction created two folders with that name, use the inner one containing .claude-plugin.
What if /gonk is missing after I install the plugin?
Run claude plugin list in your terminal. If gonk@gonk is disabled, run claude plugin enable gonk@gonk. Start a new session with claude and enter /gonk inside it.
Which Gonk download should I use?
Use the Claude Code plugin for cards after Claude replies. Use the macOS or Windows companion for cards after Codex or OpenCode exits. Each setup uses your Gonk account.
When do sponsored cards appear?
Cards appear automatically when an eligible offer is available. They start on for new accounts. If you paused cards on a device, resume them there. Manage your account preference in Profile.
Where can I see my credits?
Open Rewards to see eligible views and your balance. Credits post on a weekly update after Gonk receives and verifies payment for those views.