Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 1.64 KB

File metadata and controls

74 lines (52 loc) · 1.64 KB

Node server beginner

open source

express pug tailwind css

Usage Recommendations

Project Setup

npm install

Compile and Hot-Reload for Development

npm run start
install node on Ubuntu

Follow this order

sudo apt update
sudo apt upgrade
sudo apt install nodejs npm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm ls-remote

(Choose the latest LTS version) nvm use v18.17.1

nvm use v[your choice]
node -v

This process ensures that you have Node.js and npm installed, and it also sets up NVM for managing Node.js versions, allowing you to choose and switch between different versions as needed. This is a recommended way to manage Node.js installations, even for local use, as it provides flexibility and version control.




Matthieu Gravy

linkedin