Next JS #1

Let’s install nodejs, antigravity and a example from vercel/next-learn:


curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
sudo apt update
\. "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
nvm install 24
# Verify the Node.js version:
node -v 
# Verify npm version:
npm -v # Should print "11.6.2".
sudo apt install neofetch tmux -y
sudo apt install vim antigravity -y
npm install -g pnpm
mkdir -p src/nextjs
cd src
cd nextjs/
npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm