If you have npm istalled, you can use nvm to change the node package version locally. This can be done by running
```
npm i nvm
```
then type:
```
nvm install 18.x
```
Note above will install node version 18.x.
```
nvm use 18
```
This will change your local node version to version 18. This is a quick way to swap between different versions of node.
If you have npm istalled, you can use nvm to change the node package version locally. This can be done by running
```
npm i nvm
```
then type:
```
nvm install 18.x
```
Note above will install node version 18.x.
```
nvm use 18
```
This will change your local node version to version 18. This is a quick way to swap between different versions of node.