Angular CLI - ng deploy Command
Use a deployment builder added to the workspace by a deployment package.

How it works
ng deploy invokes a deployment builder configured for a project. A deployment package generally adds that builder through ng add; the base CLI does not choose a hosting provider automatically. Review credentials, target environment, and generated workspace changes before deploying.
Good practice
- Check the local Angular CLI version and run commands from the intended workspace.
- Review angular.json targets and builders before assuming optional commands are configured.
- Use the package manager and lockfile selected by the project.
- Review generated files, configuration changes, and build output before committing or deploying.
Further reading: Tutorialspoint: Angular CLI - ng deploy Command · Current Angular CLI reference · Workspace configuration.
Back to course overview · Previous: Angular CLI - ng completion Command · Next: Angular CLI - ng extracti18n Command