Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular/create): use appropriate package manager to install depe…
…ndencies Previously, NPM was always used to install dependencies even when using `yarn create` or `pnpm create`. Closes #23617 (cherry picked from commit f93de80)
- Loading branch information
1 parent
94b444e
commit cb0d3fb
Showing
3 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# `@angular/create` | ||
|
||
# Create an Angular CLI workspace | ||
## 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.io/cli/new) options and features are supported. | ||
|
||
# Usage | ||
## Usage | ||
|
||
NPM | ||
### npm | ||
|
||
``` | ||
npm init @angular [project-name] -- [...options] | ||
``` | ||
|
||
Yarn | ||
### yarn | ||
|
||
``` | ||
yarn create @angular [project-name] [...options] | ||
``` | ||
|
||
### pnpm | ||
|
||
``` | ||
pnpm create @angular [project-name] [...options] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters