--- gitea: none include_toc: true --- # NodeJS ## install install node version manager ``` curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash export NVM_DIR="$HOME/.nvm" nvm install --lts nvm use --lts ``` ## npm node package manager installieren ``` npm install ``` ## Run small Webserver on WSL/Windows ### Installation ``` sudo npm install http-server -g ``` ### Running it First navigate to the folder that is your web root, then ``` http-server ``` Website is available on `http://localhost:8080`