Commit 0fdd35b 1 parent bdd04d3 commit 0fdd35b Copy full SHA for 0fdd35b
File tree 1 file changed +8
-8
lines changed
docs/src/content/tutorial
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Copy and paste these commands in a terminal:
21
21
```
22
22
sudo apt update
23
23
sudo apt install curl git
24
- curl -fsSL https://deb.nodesource.com/setup_20 .x | sudo -E bash -
24
+ curl -fsSL https://deb.nodesource.com/setup_22 .x | sudo -E bash -
25
25
sudo apt-get install -y nodejs
26
26
```
27
27
@@ -33,9 +33,9 @@ There are multiple ways of installing Node.js on MacOS. We will be using [Node V
33
33
34
34
```
35
35
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
36
- nvm install 20
37
- nvm use 20
38
- nvm alias default 20
36
+ nvm install 22
37
+ nvm use 22
38
+ nvm alias default 22
39
39
npm install npm --global # Upgrade npm to the latest version
40
40
```
41
41
@@ -61,12 +61,12 @@ If your version of Node.js is older and [not supported by Hardhat](../hardhat-ru
61
61
62
62
### MacOS
63
63
64
- You can change your Node.js version using [ nvm] ( http://github.com/creationix/nvm ) . To upgrade to Node.js ` 20 .x` run these in a terminal:
64
+ You can change your Node.js version using [ nvm] ( http://github.com/creationix/nvm ) . To upgrade to Node.js ` 22 .x` run these in a terminal:
65
65
66
66
```
67
- nvm install 20
68
- nvm use 20
69
- nvm alias default 20
67
+ nvm install 22
68
+ nvm use 22
69
+ nvm alias default 22
70
70
npm install npm --global # Upgrade npm to the latest version
71
71
```
72
72
You can’t perform that action at this time.
0 commit comments