next js latest stable version code example Example: nextjs version 10 npm install next@latest //upgrage from v9 to v10