From 34dbc45d7106411755ac85bb6e9b21d4c71c5ed2 Mon Sep 17 00:00:00 2001 From: Connor McEwen Date: Fri, 10 May 2024 14:24:01 -0400 Subject: [PATCH] chore: add section to readme on nvm --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index d1767c3c37..2d2d770c65 100644 --- a/README.md +++ b/README.md @@ -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.