mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
32 lines
515 B
Markdown
32 lines
515 B
Markdown
# `@angular/create`
|
|
|
|
## Create an Angular CLI workspace
|
|
|
|
Scaffold an Angular CLI workspace without needing to install the Angular CLI globally. All of the [ng new](https://angular.dev/cli/new) options and features are supported.
|
|
|
|
## Usage
|
|
|
|
### npm
|
|
|
|
```
|
|
npm init @angular@latest [project-name] -- [...options]
|
|
```
|
|
|
|
### yarn
|
|
|
|
```
|
|
yarn create @angular [project-name] [...options]
|
|
```
|
|
|
|
### pnpm
|
|
|
|
```
|
|
pnpm create @angular [project-name] [...options]
|
|
```
|
|
|
|
### bun
|
|
|
|
```
|
|
bun create @angular [project-name] [...options]
|
|
```
|