Skip to content

Commit

Permalink
chore: add section to readme on nvm (#3763)
Browse files Browse the repository at this point in the history
### Description

Add section to the readme on using nvm to manage node versions
  • Loading branch information
cmcewen authored May 10, 2024
1 parent 89c4629 commit e37bd8a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,25 @@ foundryup

Check out the [Foundry Book](https://book.getfoundry.sh/getting-started/installation) for more information.

### Node

This repository targets v20 of node. We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your node version.

To install nvm

```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
```

To install version 20

```bash
nvm install 20
nvm use 20
```

You should change versions automatically with the `.nvmrc` file.

### Workspaces

This monorepo uses [Yarn Workspaces](https://yarnpkg.com/features/workspaces). Installing dependencies, building, testing, and running prettier for all packages can be done from the root directory of the repository.
Expand Down

0 comments on commit e37bd8a

Please sign in to comment.