chore: add section to readme on nvm (#3763)

### Description

Add section to the readme on using nvm to manage node versions
pull/3769/head
Connor McEwen 7 months ago committed by GitHub
parent 89c4629f78
commit e37bd8abf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 19
      README.md

@ -46,6 +46,25 @@ foundryup
Check out the [Foundry Book](https://book.getfoundry.sh/getting-started/installation) for more information. 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 ### 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. 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.

Loading…
Cancel
Save