Skip to content

Commit

Permalink
docs: adding pnpm explanation & enablement step (#92)
Browse files Browse the repository at this point in the history
explains role of pnpm
adds Corepack enablement method to install npm
links to pnpm site for other options
  • Loading branch information
cosmocatalano authored Nov 22, 2024
1 parent 7bed6a4 commit afaf4e9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/joinus/new-rss/before-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@ In this tutorial, we will walk you through the process of creating an RSS feed f

## Install dependencies

Before you start, you need to install the dependencies for RSSHub. You can do this by running the following command in the root directory of RSSHub:
Before you start, you need to install the dependencies for RSSHub. You can do this using the [pnpm](https://pnpm.io/) package manager.

### Enable pnpm

Node.js has included [Corepack](https://nodejs.org/api/corepack.html) for managing package managers since v16.13. Enable pnpm by running the following:

```
corepack enable pnpm
```

Please see the [pnpm installation page](https://pnpm.io/installation) for more details on pnpm install options.

### Run pnpm

the following command in the root directory of RSSHub:

```bash
pnpm i
Expand Down

0 comments on commit afaf4e9

Please sign in to comment.