--- syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- # ng > Create and manage Angular applications. > More information: . - Create a new Angular application inside a directory: `ng {{[n|new]}} {{project_name}}` - Compile the application and start a local development server: `ng {{[s|serve]}}` - Create a new component: `ng {{[g|generate]}} {{[c|component]}} {{component_name}}` - Build an Angular application or library: `ng {{[b|build]}}` - Run unit tests: `ng {{[t|test]}}` - Add a package to the current project: `ng add {{package}}` - Update workspace dependencies: `ng update` - Display version: `ng {{[v|version]}}`