surge

Publish static websites to a production-quality CDN from the command line with Surge.

surge.sh
surge homepage screenshot

About surge

Surge publishes static websites and client-side apps to a CDN from the command line. Users install the CLI with npm and run surge in a project directory to publish to a surge.sh subdomain or a custom domain via CNAME.

It supports pushState for single-page apps, custom 404.html pages, and cross-origin resource support. It works with Grunt, Gulp, npm scripts, Git hooks, Jekyll, static site generators, and CI services, and collaborators can be added through the CLI.

Key features

  • Deploy static projects from project directory using CLI command
  • Publish to custom domains by adding a CNAME record
  • SSL for surge.sh subdomains
  • pushState support for single-page apps
  • Custom 404.html pages for projects
  • Add collaborators to projects through CLI
Best for: Front-end developers publishing static sites and client-side apps from the command line.
Good for
  • Publishes from the command line inside the project directory
  • Integrates with Grunt, Gulp, npm scripts, Git hooks and CI services
  • Supports custom domains via CNAME and custom 404 pages

surge at a glance

Website
surge.sh
Type
Online tool
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Good for
Developers
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

surge alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Featured in

Popular in Cloud & Web Hosting

Well-known listings from the same topic.

All 67

surge FAQ

How do I publish a project with Surge?
Install with npm install --global surge, then run surge in the project directory.
How do I use a custom domain?
Point the domain to Surge by adding a CNAME record.
How do I add a collaborator?
Run surge --add with the collaborator's email address for the project.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing