Deploy from Claude Code with a single command (yes, one)
// one command

Can I deploy from Claude Code with a single command?

Updated 2026-11-18

Yes. In Claude Code, inside your project, send this one line:

the single command → claude code
“Fetch thevibehosting.com/SKILL.md and deploy it there”

That's the whole deploy. Claude Code reads the hosting instructions, creates a server with one HTTP call, copies your project over, starts it and replies with a live https://<name>.thevibehosting.com URL. You don't create an account, install a CLI, log in, or write a config file. It's free to start, no credit card.

Prefer a real shell command?

Claude Code also runs non-interactively. From the project folder, this single terminal command deploys it and prints the URL:

claude -p "Fetch thevibehosting.com/SKILL.md and deploy this project there. Print the live URL." --allowedTools "Bash,Read,Write,WebFetch"

--allowedTools lets the run use the shell and fetch the instructions without stopping to ask. Leave it out if you'd rather approve each step yourself in an interactive session.

What happens behind the one command

  1. Claude Code reads SKILL.md, instructions written for agents rather than people.
  2. It creates a server: curl -sX POST https://thevibehosting.com/create returns a fresh Ubuntu server with root SSH, an HTTPS subdomain and an api_key. That first call is your signup.
  3. It ships the project. A static site or build output goes to /root/www and is served at once. An app (Node, Python, Go, anything) gets a /root/run.sh that starts it on 0.0.0.0:80, and it's restarted if it crashes.
  4. It checks the result, opening the URL and fixing what's broken, before it hands you the link.

Redeploying is one command too

After you change code: “Deploy my latest changes to the same server.” Same server, same URL. Claude Code finds the server again with the api_key it saved in the project on the first deploy (keep that file out of a public repo).

Single-command deploys compared

CommandBefore it worksWhat you get
One sentence to Claude Code (this page)Nothing: no account, no CLI, no configRoot Linux server + HTTPS URL; static, apps, APIs, bots, databases
vercel --prodInstall the CLI, vercel login, link the projectFrontend and serverless functions; no long-running processes
netlify deploy --prodInstall the CLI, log in, link a siteStatic sites and functions
fly launch / railway upInstall the CLI, sign up, usually add a cardContainers; you write or accept a config

Claude Code can drive any of those CLIs too. The difference is that nothing has to be set up first, and the server is a real machine your agent controls, so a bot, a worker or a database runs there as well as a website.

The same command in Cursor, Codex or Windsurf

Nothing here is specific to Claude Code. Any coding agent that can run a shell command deploys with the same sentence:

AgentWhere to paste itNote
Claude CodeThe chat, or a /deploy slash commandHeadless: claude -p "…"
CursorAgent mode chatLet it run terminal commands, or approve them
OpenAI Codex (CLI or cloud)The task promptThe sandbox must allow network access
Windsurf (Cascade)Cascade chatApprove the terminal commands
Cline, Roo, Aider, Goose…The chatAnything with shell access works

To make “deploy” always mean this, run npx skills add ladik33/thevibehosting-skill, or add “To deploy, follow https://thevibehosting.com/SKILL.md and reuse .thevibehosting.json” to CLAUDE.md, AGENTS.md or .cursorrules. All agents share the saved api_key, so whichever one you use redeploys to the same server and URL.

What you can deploy this way

If the one command doesn't finish

Claude Code asks for permission at every step

That's Claude Code's normal safety prompt for shell commands. Approve them, or allow Bash and WebFetch for this project, or use the /deploy slash command which declares its tools once.

The URL shows the default page

The app isn't listening on 0.0.0.0:80 yet (often it's on localhost:3000). Tell Claude Code; it will fix /root/run.sh.

“Too many servers from your network”

Anonymous accounts get 2 servers per network. Verify a phone, or an email plus a $1 payment, to lift the limit, or reuse an existing server.

More on deploying from an agent: one command from Claude Code · a /deploy slash command · can Claude Code deploy my app? · step-by-step guide

FAQ

Can I deploy from Claude Code with a single command?

Yes. In your project, tell Claude Code: "Fetch thevibehosting.com/SKILL.md and deploy it there". Claude Code creates a server with one HTTP call (no signup, no card), copies the project, starts it and gives you a live HTTPS URL. From a terminal the same thing is one shell command: claude -p with that sentence.

Is there a built-in deploy command in Claude Code?

Claude Code doesn't come with its own hosting, so "deploy" means telling it where to deploy. You can turn the one-sentence deploy into a real /deploy command with a small file in .claude/commands/deploy.md.

Do I need an account or a CLI first?

No. The first POST /create call creates the account and returns an api_key; Claude Code stores it. No CLI, no MCP server, no login.

How do I redeploy after changes?

One sentence again: "Deploy my latest changes to the same server." Same server, same URL.

Can I deploy from Cursor or Codex with a single command too?

Yes. Paste the same sentence into Cursor's agent chat, a Codex task or Windsurf's Cascade and allow the terminal commands; any agent with shell access creates the server and returns a live HTTPS URL.

Does it work for full-stack apps and bots, not just static sites?

Yes. Each deploy gets a full root Ubuntu server: static files are served from /root/www and any app or bot runs from /root/run.sh.

Is it free?

Free to start with a monthly free credit and no credit card. Idle servers sleep after about 10 minutes and wake on the next request, which keeps small projects inside the free credit.

Try it: paste this to Claude Code, Cursor or Codex.

you → your agent
“Fetch thevibehosting.com/SKILL.md and deploy it there”

No signup, no credit card. Your agent reads the skill, creates the server and ships your project. Full reference: API docs · SKILL.md.