Skip to content

Commit e888c9b

Browse files
committed
docs(introduction): add degit as blockquote
1 parent 399b86e commit e888c9b

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

content/introduction.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,19 @@ $ nest new project-name
2626
#### Alternatives
2727

2828
Alternatively, to install the TypeScript starter project with **Git**:
29-
```bash
30-
$ git clone https://github.com/nestjs/typescript-starter.git project
31-
```
32-
33-
This will be cloning the starter project repository with it's entire commit history.
34-
35-
To clone the repository without it's history, [degit](https://github.com/Rich-Harris/degit) can be used:
36-
37-
```bash
38-
$ npx degit nestjs/typescript-starter project
39-
```
40-
41-
After cloning the starter project:
4229

4330
```bash
31+
$ git clone https://github.com/nestjs/typescript-starter.git project
4432
$ cd project
4533
$ npm install
4634
$ npm run start
4735
```
4836

37+
> If you'd like to clone the repository without the git history, you can use [degit](https://github.com/Rich-Harris/degit)
38+
4939
Open your browser and navigate to [`http://localhost:3000/`](http://localhost:3000/).
5040

51-
To install the JavaScript flavor of the starter project, replace `typescript-starter` with `javascript-starter` in the `git clone` or `degit` commands above.
41+
To install the JavaScript flavor of the starter project, use `javascript-starter.git` in the command sequence above.
5242

5343
You can also manually create a new project from scratch by installing the core and supporting files with **npm** (or **yarn**). In this case, of course, you'll be responsible for creating the project boilerplate files yourself.
5444

0 commit comments

Comments
 (0)