Skip to content

How to upgrade or install Node.js and npm on Ubuntu 20.04 and Grid layout CSS

#add in package.json
    "dev": "vite --open --host",
    "start": "vite --open --host",
npm --version
node --version
curl -o- | bash

vi ~/.bashrc 
nvm --version

source ~/.bashrc

nvm list-remote
nvm install node
node --version
npm --version

Clone the repo

Use ssh

git clone

Or https

git clone

In the repo folder run

npm install
npm start

Your dev server will start and be running at

  > Local:    http://localhost:3000/


npm installInstall the dependencies
npm startRun the project (in dev mode)
npm run buildBuild for deployment
Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *