For Gemini CLI
Publish the website you built with Gemini CLI.
Gemini CLI wrote the site in a folder on your computer. One sentence in the same terminal puts it online.
Add heyweb to your agentSee how it works
NewSearch
Today
Lindenhof website···Kammer tour datesSold-out badge for the 12thStudio Arc portfolio
MMaya
Lindenhof website
Publish this site on heyweb
The site is live at lindenhof.heyweb.page. I invited Johanna, she can change the content by chat now.
lindenhof.heyweb.pagePublished on heyweb
Create the site on heywebUpload 14 filesInvite Johanna to edit by chat
Gemini CLIAuto
To publish a website built with Gemini CLI, start Gemini CLI in the folder of your site and paste the heyweb setup line. It installs the small heyweb program, you approve its commands and confirm once in your browser, and the site goes online at an address like your-site.heyweb.page.
Publish from the terminal you already use
Gemini CLI is Google’s coding agent for the terminal, the window where you type instructions instead of clicking. Google describes it as bringing the Gemini models directly into your terminal. It can read and write the files in a folder and run commands on your computer, which is all it takes to build a website.
To publish a website built with Gemini, that folder has to reach a host: a service that keeps the files online and sends them to visitors. heyweb is a host made for sites built with coding agents. You paste one sentence into Gemini CLI, and it sets up heyweb and sends the site.
From a folder to a live address
Three steps, and none before you paste. You approve what Gemini CLI wants to run; you type no commands of your own.
- Step 1: Paste one sentence into Gemini CLI
Start Gemini CLI in the folder of your website, so the agent works on exactly those files, and send this sentence. You do not have to sign up first.
Set up heyweb from app.heyweb.ai/start and put this site online. - Step 2: Connect when Gemini CLI asks
Gemini CLI installs the heyweb program and runs it. When it asks before running a command, allow it. Then your browser opens heyweb. Sign in with your email address and the code you get by email; if you are new, this creates your account. Check that the terminal shows the same short code and press Connect.
- Step 3: Get your address
Gemini CLI reports an address like your-site.heyweb.page, and the site appears in your heyweb account.
What happens on your computer
Gemini CLI runs shell commands (instructions to your computer) on your behalf. Google’s settings reference says that in the default approval mode it asks you before it acts. Read each command, then approve it. Only a mode you switch on yourself approves everything automatically.
The heyweb program is one small file in a folder of its own. It never asks for a password: you confirm in your browser, and the access is kept in your computer’s keychain, outside the website’s files. Hidden files and anything that looks like a key are not published.
heyweb also leaves a short note in the project (AGENTS.md) that explains how to use it. Gemini CLI loads its own context file, named GEMINI.md by default. If a later session does not know about heyweb, ask it to read AGENTS.md first.
What you say, what happens
Once heyweb is set up, these are ordinary requests in Gemini CLI.
| You say | What happens | Why it matters |
|---|---|---|
| Put the new version online. | Client changes come in first, then your version goes up | Nothing your client wrote is lost |
| Bring Monday’s version back. | The site returns to that state | A bad change is one sentence away from undone |
| Get my client’s changes. | New texts and pictures land in your folder | Your copy matches the live site |
The same sentences work in Claude Code and Codex.
Paste this into your agent.
Free until a site goes live. Then $12 a month per site, plus tax.
What your client can do once it is online
After launch, the work is usually small: a new price, a new photo, the summer opening hours. With heyweb, your client asks for those in a chat, in plain words, and the change goes live. The chat can change content and never the design or the code. This client chat is in early access and is being rolled out.
Every change, yours and your client’s, is kept in a history and can be undone. More in let a client edit a static website.
What to know about Gemini CLI and heyweb
heyweb works with Claude Code, Codex and Cursor, and with any other agent that can run a command on your computer. The heyweb team tests with Claude Code, Codex and Cursor. The steps on this page are the same in any agent that can run commands on your computer, and Gemini CLI can.
Google’s installation page says that for unpaid and Google One users, Gemini CLI was replaced by Antigravity CLI in June 2026. If that is you, the steps are the same there: see Google Antigravity.
Common questions
How do I publish a website built with Gemini CLI?
Paste the heyweb setup sentence into Gemini CLI in the folder of your site. Gemini CLI installs the heyweb program, asks you to connect once in your browser and replies with an address like your-site.heyweb.page. You do not sign up first: connecting with your email address and a code creates your account. The sentence is on add heyweb to your agent.
Has heyweb been tested with Gemini CLI?
Not by the heyweb team, which tests with Claude Code, Codex and Cursor. heyweb works with any agent that can run a command on your computer, and Gemini CLI can, so the steps on this page are the same.
Do I need to know the terminal?
Only how to start Gemini CLI in the folder of your site. Gemini CLI types the commands; you approve them and press Connect once in your browser.
Gemini CLI runs in a sandbox for me. Does that work?
The heyweb program has to be installed where the agent runs, it needs the internet, and you confirm the connection in a browser. If your sandbox blocks network access, the setup may not work; run it outside the sandbox then.
What does it cost to publish a website from Gemini CLI?
Building and previewing is free. A live site costs $12 per month plus tax, with client editing included. Details on pricing.
What must the folder contain?
An index.html at the top level, with the styles, scripts and pictures in the same folder. Sites that need a build step are part of early access.