Install pnpm using corepack:
corepack enable pnpmInstall dependencies
pnpm install--host is optional, but allows you to view the build over your LAN (e.g. to test desktop and mobile).
pnpm run dev --host(Optional) Preview production build
pnpm run build --mode development
# or
pnpm run build
# then
pnpm run preview --hostpnpm update --interactive
# or
pnpm update --interactive --latest