docs(readme): update local development instructions to use pnpm instead of npm (#9418)

This commit is contained in:
Epifânio Francisco
2025-12-02 13:50:31 +01:00
committed by GitHub
parent e53d47ff60
commit b310330ab5

View File

@@ -132,16 +132,16 @@ Please consider sharing a post about [roadmap.sh](https://roadmap.sh) and the va
Clone the repository, install the dependencies and start the application
```bash
git clone git@github.com:kamranahmedse/developer-roadmap.git
git clone git@github.com:kamranahmedse/developer-roadmap.git --depth 1
cd developer-roadmap
npm install
npm run dev
pnpm add @roadmapsh/editor@npm:@roadmapsh/dummy-editor -w
pnpm install
```
Note: use the `depth` parameter to reduce the clone size and speed up the clone.
Run the development server with:
```sh
git clone --depth=1 https://github.com/kamranahmedse/developer-roadmap.git
```bash
pnpm dev
```
## Contribution