Next.js : Install2026/06/16 |
|
Install Next.js which is a React-based web development framework. |
|
| [1] | |
| [2] | Create a test Next.js application with a common user. |
|
# create Next.js application [test-app] ubuntu@dlp:~/testproject2$ npx create-next-app test-app Need to install the following packages: create-next-app@16.2.9 Ok to proceed? (y) y ✓ Would you like to use the recommended Next.js defaults? Yes, use recommended defaults Creating a new Next.js app in /home/ubuntu/testproject2/test-app. Using npm. ..... ..... Initialized a git repository. Success! Created test-app at /home/ubuntu/testproject2/test-app
ubuntu@dlp:~/testproject2$
cd test-app
# run development server ubuntu@dlp:~/testproject2/test-app$ npm run dev > test-app@0.1.0 dev > next dev --turbopack ▲ Next.js 16.2.9 (Turbopack) - Local: http://localhost:3000 - Network: http://10.0.0.30:3000 ✓ Ready in 284ms Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry |
| Access to the URL that is shown on the console above from any client computer, and then that's OK if following app is shown. |
|
| Sponsored Link |
|
|