How to install Strapi v4 with MySQL 8 (part 1)

  1. Run the following code in the terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm ls
v14.18.2-> v17.2.0default -> node (-> v17.2.0)
nvm install node
nvm install 14.18.2
node --v #v17.2.0
nvm use 14.18.2

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What did we lose when we moved to Redux?

10 Must-Have Chrome Extensions for Web Developers

Must Have Chrome Extensions for Web Developers

How to Build a Mobile App With React Native

Apollo Graphql and Nestjs cookies not setting on front end

Node.js version 14 available now

My Inspiration for Making a Game in React

Best Practices in Angular

Make Api using Node

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tanny Nogales

Tanny Nogales

tanny.cl

More from Medium

Parsing site with Node JS

Protect from CSRF attack in Node.js

How to Setup A BasicExpress Server From Scratch

a picture of package.json