npm install Install all dependencies. npm run build Creates .next directory with static and server build files. npm run dev Run the dev server.