forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
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 angular#23617
- Loading branch information
1 parent
e995bda
commit 1b726f5
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