← sher.sh

Build and Deploy a Site with Claude Code in Under a Minute

February 2026

Claude Code is a CLI-based AI coding agent from Anthropic that can write code, run terminal commands, and manage entire projects from your terminal. When you pair it with sher, it can go from a text prompt to a live preview URL in under a minute—without you writing a single line of code or running a single command yourself.

What you need

Before getting started, install sher globally and add the agent skill so that Claude Code knows how to use it:

npm i -g shersh
npx skills add sherdotsh/sher

The first command installs the sher CLI, and the second installs an agent skill that teaches Claude Code when and how to run sher link. The skill is a small configuration file that gets added to your project, and it works with Claude Code as well as 35+ other coding agents.

Step-by-step walkthrough

Here is the full process from an empty directory to a live URL, and it genuinely takes less than a minute for a simple project.

1. Open Claude Code in an empty directory

Create a new folder and start Claude Code inside it. This gives the agent a clean workspace to scaffold your project.

mkdir coffee-shop && cd coffee-shop
claude

2. Describe what you want

Tell Claude Code what to build in plain language. For example:

Build me a landing page for a coffee shop called "Morning Ritual".
It should have a hero section, a menu with 6 drinks, and a footer
with the address.

3. Watch it work

Claude Code scaffolds the project (typically with Vite or a similar framework), installs dependencies, and writes all the HTML, CSS, and JavaScript. You can watch the output scroll by in your terminal as it creates files, runs npm install, and puts together the components.

4. It deploys with sher

Because the agent skill is installed, Claude Code knows to run sher link once the project is ready. sher detects the framework, runs the build, uploads the output, and returns a preview URL. Claude Code passes that URL back to you in the conversation.

$ sher link

  sher - share your work

  framework  Vite (React)
  building   npm run build
  files      14 files (620KB)
  uploading  ...

  https://k4m2x8p1.sher.sh  (copied)
  expires 2/19/2026, 11:00 AM

You click the link, and there is your coffee shop landing page, live on the internet.

Why this works so smoothly

The reason this particular combination works well is that sher has no interactive steps. There are no browser-based login flows, no prompts asking you to pick a project name, and no account required for basic usage. Claude Code can run sher link exactly the way it runs any other terminal command, and it gets a clean URL back in the output.

This matters because most deployment tools were designed for humans sitting at a keyboard. They assume you can open a browser, authorize an OAuth flow, or answer interactive prompts. AI agents cannot do any of that, so the deployment step becomes a dead end. With sher, the entire flow from code to URL is non-interactive, which means the agent can close the loop on its own.

Going further

This workflow is not limited to simple landing pages. Claude Code can build multi-page sites, dashboards, portfolio sites, and interactive prototypes, and sher will handle the build and upload regardless of complexity. You can also iterate on the design by asking Claude Code to make changes and re-run sher link to get an updated preview URL each time.

If you want the preview to last longer than the default expiration, you can sign in with sher login (which uses GitHub authentication) to extend link lifetimes and get more uploads per day.

FAQ

Does Claude Code need a sher account to deploy?

No. Sher works without an account for basic usage, which is one of the reasons it pairs so well with AI agents. You get one upload per day with a 6-hour expiration on the free tier without signing in. If you need more, running sher login with a GitHub account unlocks 25 uploads per day.

What frameworks can Claude Code build and deploy with sher?

Claude Code can scaffold projects using any popular frontend framework, and sher auto-detects and builds all of them. This includes Vite (with React, Vue, or Svelte), Next.js, Astro, Create React App, and plain HTML. If Claude Code creates it, sher can deploy it.

Can I use this workflow with other AI agents besides Claude Code?

Yes. The sher agent skill works with 35+ coding agents including Cursor, Codex, OpenCode, and others that support the skills.sh standard. The process is the same: install the skill, and the agent learns to run sher link after building a frontend project.

How long does the preview URL last?

Without an account, preview URLs expire after 6 hours. Signing in with GitHub extends that to 24 hours, and the Pro plan gives you up to 7-day expiration. The URLs are designed to be temporary, so you do not accumulate stale deployments over time.

Get started

Install sher globally:

npm i -g shersh