- install hombew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - install fnm (Fast Node Manager):
brew install fnm - install node v18(latest):
fnm install 18 - use latest v18 via fnm:
fnm use vXX.XX.X(place the version fnm has installed. dont remove the v in front) - set latest v18 as default via fnm:
fnm default vXX.XX.X(place the version fnm has installed. dont remove the v in front)
- install node_modules:
npm ci
- run server:
npm run start