Get Playtests

itch.io Butler Tutorial: Push Builds From CLI, App or GitHub

Install butler, log in, push your first build, name channels, set versions, preview pushes and automate itch.io uploads with GitHub Actions.

Updated · 11 min read · For developers

This itch.io butler tutorial takes you from a fresh install to automatic uploads: installing butler on Windows, macOS or Linux, logging in, pushing your first build, naming channels so itch.io tags them correctly, setting version numbers, checking a push before it goes out, and wiring it into GitHub Actions so every tagged release lands on your page without you touching a browser. Every command below comes from the butler manual and the itch.io announcements, read in November 2026.

What butler is and why it beats the upload button

butler is itch.io's command-line uploader. You point it at a folder (or a .zip) and a channel on your project, and it pushes that build. The difference from the browser upload is that butler works with patches. The first push sends everything. Every push after that is compared against the previous build in the same channel, and only the difference goes over the network.

The butler manual puts typical savings at 80% to 95% of data and time, because most updates only touch 5% to 20% of the files. Even the first push is compressed, so a 300MB build might send about 120MB. Players who use the itch app also update by downloading a patch instead of the whole game again.

That matters most during a playtest. If you are shipping a fixed build every day or two, waiting on a full re-upload each time kills your momentum. With butler, the fix-push-test loop takes seconds for small changes.

A few limits worth knowing up front:

  • The itch.io backend rejects builds bigger than 30GB uncompressed.
  • Browser uploads on new accounts have a size limit that itch.io raises on request. butler is the usual route for big builds.
  • An existing file you uploaded through the browser can't be converted into a butler channel. itch.io's leafo confirmed this in the comments on the itch app announcement. Push a new channel and delete the old file once the new one works.

Before you start: the page and the target name

butler does not create project pages. Create yours first at itch.io/game/new, save it, and leave it as Draft or Restricted while you set things up. If you are planning a closed test, our itch.io playtest guide covers Restricted pages, passwords and download keys in detail.

Then work out your target, which has the form user/game:

  • user is your itch.io subdomain, all lower case. For leafo.itch.io it is leafo. It is usually your username, but not always.
  • game is the URL slug of the project. For leafo.itch.io/supergame it is supergame.

Get this wrong and butler tells you with invalid target (bad user) or invalid target (bad game). Those two errors are the most common first-push problem, so copy the slug straight from your page's address bar.

Option A: push from the itch app, no terminal needed

Since May 2026 the itch desktop app has butler built in. If you would rather not touch a command line, this is the easiest path.

  1. Install or update the itch app. You need version 26.12.0 or later.
  2. Open the Upload entry in the sidebar. It opens the Builds page, which lists every build on every project your account can edit, with channel, version, status, size and push date.
  3. Click Push new build. Pick the project, choose a channel or type a new name, optionally set a version, and drop in a folder or .zip.
  4. Generate the preview before you upload. It shows how many files are new, modified, deleted or unchanged, plus the largest changed files. This is the moment to catch a stray debug folder.
  5. Push. You can also push new builds as hidden from here.

The app keeps its bundled butler up to date and uses the account you are logged into, which also makes it easy to push from multiple accounts by switching profiles. Expanding a build row shows the equivalent CLI command, which is a nice way to learn the syntax before you automate it.

Option B: install the butler CLI

Download butler from itchio.itch.io/butler. Each platform gets a .zip containing the executable and two 7-zip libraries (optional for pushing, harmless to keep).

Windows

  1. Extract the .zip to a folder such as C:\butler.
  2. Press Win + X, choose System, then Advanced system settings, then Environment Variables.
  3. Under System variables, select Path, click Edit, click New and add C:\butler.
  4. Click OK on every dialog, then open a new Command Prompt or PowerShell window.
  5. Run butler version. You should see a version line such as v15.24.0, built on....

If you get 'butler' is not recognized as an internal or external command, the PATH didn't save or you are still in an old terminal window.

macOS and Linux

  1. Extract the .zip to a folder such as ~/bin.
  2. Run chmod +x ~/bin/butler.
  3. Add export PATH="$PATH:$HOME/bin" to the end of ~/.bashrc on Linux or ~/.bash_profile on macOS (or the profile file for the shell you use).
  4. Open a new terminal and run butler version.

Forgot where you put it later? butler which prints the full path. To update, run butler upgrade. butler also checks for new versions in the background when you run network commands and tells you when one is available.

Step 1: log in once

Run butler login. It opens your browser, you authorize butler on your itch.io account, and the credentials are saved locally. If you skip this, butler asks you to log in the first time a command needs it.

Working on a remote build server over SSH? Run butler login there, open the login URL on your own machine, and when it redirects to a page that won't load, copy that page's address and paste it back into the terminal.

Running more than one itch.io account on the same machine? Use -i with a separate credentials file, for example butler -i ~/.config/itch/second_account push ....

Step 2: push your first build

The only command you really need is:

butler push DIRECTORY USER/GAME:CHANNEL

A real example for a Windows build:

butler push "C:/mygame/build" gamedev/mygame:windows

A few things that trip people up:

  • Quote paths with spaces. "C:\My Game Files\build" needs the quotes or butler reads it as several arguments.
  • Push the folder, not a zip, when you can. butler can push a .zip, but it unpacks it and recompresses anyway. If the folder contains exactly one .zip and nothing else, butler unpacks it automatically to avoid a zip inside a zip. Use --no-auto-unzip if you really want the archive uploaded as is.
  • Push a clean release folder. The manual's advice is to push exactly your release build. Strip .pdb files, editor leftovers and save files from your own machine before pushing.

Pushing to a new channel creates a new file on your page. Pushing to the same channel again updates that file. As soon as the upload finishes, the build is live and players can download it. In the background, itch.io then regenerates a smaller optimized patch, which can take around 30 minutes for a large game. You can watch that processing status in the channel's build list or on the itch app's Builds page.

Step 3: name channels so itch.io tags them for you

The channel name sets the platform tag on the upload:

  • Contains win or windows: tagged as a Windows executable.
  • Contains linux: tagged as Linux.
  • Contains mac or osx: tagged as macOS.
  • Contains android: tagged as an Android app.
  • A channel can name several platforms, such as win-linux-mac-stable for a Java game.

The convention is lower-case kebab-case. A sensible playtest setup looks like windows-playtest, mac-playtest and linux-playtest, kept separate from the windows-stable channel you will use at launch. There is no way to tag 32-bit versus 64-bit yet, so put that in the name if it matters to you. You can always fix tags later with the checkboxes on the Edit game page (remember to save).

Browser games

For an HTML5 build, push it like anything else, for example butler push dist gamedev/mygame:html5. Then, on the Edit game page, set the kind of project to HTML and tick the option that the file will be played in the browser. butler can't set those for you, and only the first push needs it. Make sure index.html sits at the top of the folder you push, not inside a subfolder. For Godot projects, our Godot web export guide covers export templates and black screen fixes before you push. For Unity, our Unity WebGL on itch.io guide covers compression, canvas size and saves that survive updates. If you are still fighting the web export itself, our guide on how to upload a game to itch.io covers engine settings for Unity, Godot, GameMaker and Ren'Py.

Step 4: add your own version numbers

By default itch.io gives each build in a channel an increasing integer. If you already have version numbers, pass them in:

  • butler push build gamedev/mygame:windows-playtest --userversion 0.4.2
  • butler push build gamedev/mygame:windows-playtest --userversion-file buildnumber.txt (one line, UTF-8 without BOM)

The order itch.io uses is upload order, not the version string, so the format is up to you.

Matching versions pays off in a playtest. When a tester's bug report says "0.4.2", you know exactly which build they played. Put the version on your title screen too, and ask for it in your bug report template.

For players who download directly instead of using the itch app, there is a public endpoint for checking the latest version from inside your game: https://api.itch.io/wharf/latest?target=user/game&channel_name=windows-playtest. It returns the latest user version for that channel, so your game can show an "update available" notice. It returns an error for Private pages, so it won't leak an unreleased game.

Step 5: check a push before it goes out

These flags save you from shipping the wrong folder to your testers:

  • butler push-preview build gamedev/mygame:windows-playtest compares your folder against the channel's last build and lists every file as NEW, MODIFIED, DELETED or SAME. Add --changes-only on big builds.
  • butler push --dry-run lists every file that would be sent, without diffing. Good for testing ignore patterns.
  • --ignore '*.pdb' skips files that match a pattern. Use it once per pattern, with two dashes.
  • --if-changed skips the push when nothing changed, which keeps multi-channel CI runs from making empty builds.
  • --hidden makes a brand-new channel's upload hidden from your page until you unhide it on the Edit game page. It only works on the first push to a channel. Pushing --hidden to an existing channel is an error.

The hidden flag is handy for a staged playtest. Push windows-playtest-2 hidden, download it yourself from the edit page, check it launches, then unhide it and post the update to your testers.

Step 6: automate it with GitHub Actions

Once the manual push works, automation is a short step. The butler manual's approach for any CI system is the same: log in locally once, then give the CI job your API key in the BUTLER_API_KEY environment variable.

Get the key

Open itch.io/user/settings/api-keys and copy the key whose source is wharf (that's the one butler login created). You can also find it in the local butler_creds file. Treat it like a password. The manual is blunt about it: if the key ever shows up in a public build log, consider it burned and revoke it on the API keys page.

Add the secret

In your GitHub repository, go to Settings, then Secrets and variables, then Actions, click New repository secret, name it BUTLER_API_KEY and paste the key.

Write the workflow

Create .github/workflows/itch.yml. The butler manual lists remarkablegames' setup-butler action as its GitHub Actions integration, and the pattern is:

  1. Trigger on version tags so only real releases upload: under on: add push:, then tags: with the pattern 'v*'.
  2. Check out the repo with actions/checkout.
  3. Build your game into a folder such as dist. This step depends on your engine (for example a Godot headless export, a Unity builder action, or npm run build for a web game).
  4. Install butler with uses: remarkablegames/setup-butler@v3. It installs the latest butler by default; set the butler-version input to pin one.
  5. Push with run: butler push dist gamedev/mygame:html5 --userversion ${{ github.ref_name }} and set BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} under that step's env.

Expose the secret only on the push step, not the whole job, so your build tools never see it. The full copyable YAML is in the setup-butler README, linked in the sources below.

Any other CI

For GitLab CI, a self-hosted runner or a plain shell script, download butler from broth instead of the itch.io page. broth URLs are permanent while itch.io download links expire. On Linux that is https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default, which serves a .zip. Unzip it, chmod +x butler, set BUTLER_API_KEY, then run the same butler push command.

Troubleshooting the usual errors

  • "invalid target (bad user)" or "(bad game)": your subdomain or slug doesn't match. Copy both from the page URL, lower case.
  • "'butler' is not recognized": PATH problem. Open a new terminal, or run butler from its own folder.
  • Push fails before it starts: you skipped butler login, or in CI the BUTLER_API_KEY secret is missing or misspelled.
  • Push reaches the server but nothing appears: the project page doesn't exist yet, or you pushed --hidden to a new channel.
  • Connection errors: a firewall or antivirus may be blocking butler. Add it to the exception list.
  • Browser game shows a download instead of a player: set the project kind to HTML and tick played in browser on the Edit game page.

Get testers onto the build you just pushed

butler gets the build up fast. The harder part is getting people to play it and tell you something useful. A few ways to close that gap:

  • Keep a playtest channel separate from stable. Testers always know which file to grab, and your public page stays clean.
  • Write a short "what changed" note with every push. Testers give sharper feedback when they know what to look at. Our closed beta checklist has a welcome message template and the weekly loop for this.
  • Find players who aren't your friends. You can post an itch.io build on Get Playtests for free, with no credit card. itch.io links go live right away, and you can show the build only to reviewers whose claim is on. Players who pick your game send written, video or livestream reviews, and if you want more ideas for finding testers, see how to find playtesters and the playtest swap guide.

Push, post, read the notes, fix, push again. Once butler is set up, the slowest part of that loop is the fun part: watching someone play.

Sources

  1. Introduction (The butler manual)
  2. Installing butler (The butler manual)
  3. Logging in / authentication (The butler manual)
  4. Pushing builds (The butler manual)
  5. Troubleshooting (The butler manual)
  6. Pushing builds with butler is now in the itch app (itch.io, May 2026)
  7. How to upload your game or project to itch.io with butler (itch.io forum)
  8. setup-butler GitHub Action (remarkablegames)
  9. Automatic GitHub Deploy to itch.io (Timmy Kokke)
  10. Automate Release (Learn MonoGame)