Make games with Gemini CLI
Connect Google’s Gemini CLI to Gamesteel, sign in once, and ask for your first game.
Before you start
Install Gemini CLI. It works with Gemini Code Assist Standard and Enterprise, and with a paid API key. With Google AI Pro, Ultra or a free account, use Antigravity CLI instead: npx gamesteel@latest connect antigravity.
You also need Node.js 20 or newer, which runs the Gamesteel program, and a Gamesteel account. Every new account starts with a free week.
Connect it
In a terminal, run npx gamesteel@latest connect gemini. It adds Gamesteel to ~/.gemini/settings.json, trusted, so its tools run without asking, and described in a form Gemini models take.
Gemini CLI starts no servers in a folder it doesn’t trust: when it asks, trust the folder you work in, or run /permissions trust there. With gemini -p, add --skip-trust.
Sign in and make a game
The first time your agent asks Gamesteel for something, the program opens Gamesteel’s sign-in in your browser, and does nothing until you sign in.
- Log in, if you aren’t already.
- Pick the workspace the agent will work in.
- Choose Allow, on the computer your agent runs on.
- When the page says Gamesteel is signed in, go back to your agent and ask again, for example “try again”.
Ask your agent for a small game. A good first ask says what the player does again and again, how the game is won or lost, the controls, the look, and the screens you want. For example: “Make me a small top-down game with Gamesteel: a fox gathers ten berries in a garden before the sun sets. Arrow keys to move. Warm autumn colours. A title screen, and a screen for winning and one for losing.”
If it doesn’t work
Your agent, in Help, covers tools that don’t show, a timeout, a sign-in page that didn’t open and the wrong account. Connect lists all 29 agents Gamesteel works with.