Deploy a Angular App

Deploy Angular without the infrastructure headache

Last updated: February 20, 2026

Angular CLI handles the build — you just need somewhere to put the output. Run ng build, point ZeroDeploy at dist/my-app/browser, and your app is live. The nested output folder trips people up, but once you know the path, deployment is one command.

Deploy in 3 steps

From zero to live in under a minute.

1

Create your Angular project

Scaffold a new project with the official Angular CLI CLI.

bash
ng new my-app
2

Build for production

Run the build command to generate static output in dist/my-app/browser/.

bash
cd my-app && ng build
3

Deploy to ZeroDeploy

One command to push your site to the edge. It's live in seconds.

bash
zerodeploy deploy --dir dist/my-app/browser

Things to know

Angular-specific tips to avoid common pitfalls.

  • Angular's output directory includes the project name: dist/my-app/browser. Replace my-app with your actual project name.
  • For apps using Angular Router, create a _redirects file in your src/ folder with /* /index.html 200 and add it to the assets array in angular.json. Learn more about redirects →
  • If deploying to a subdirectory, use ng build --base-href /my-path/ to set the correct base URL.

Everything you need

Deploy Angular apps with the features you'd expect from a modern hosting platform.

Instant Deploys

Push to deploy in under 5 seconds. No queues, no build minutes to worry about.

Preview URLs

Every deployment gets a unique URL. Share any version instantly with your team.

Custom Domains

Connect your own domain with automatic SSL. Just add a CNAME and you're live. Learn more →

GitHub Actions CI/CD

Deploy on every push with GitHub Actions. Get PR comments with preview URLs. Set up CI/CD →

Built-in Analytics

See traffic, top pages, referrers, and countries right in your dashboard. No third-party scripts. Learn more →

Forms That Just Work

Add action="/_forms/contact" to any form. Submissions appear in your dashboard. Learn more →

Deploy other frameworks

ZeroDeploy works with any static build output.

Pair with a backend

Ship your Angular app today

Build with ng build, deploy with one command. Free hosting with custom domains, analytics, and preview URLs.