npm install next

The React Framework

About next

Next.js is a powerful React framework designed to make the development of complex applications simpler and more efficient. By leveraging the best aspects of web development with a focus on performance and user experience, Next.js provides developers with a robust set of features such as server-side rendering, static site generation, and automatic code splitting. This enhances the speed and SEO capabilities of web applications, making them more discoverable and faster to load. Additionally, Next.js supports API routes, which allow developers to build their APIs within the same framework, streamlining development processes and reducing the need for additional server resources.

For developers looking to start a new project with Next.js, the process is straightforward with "npm install next". This command installs Next.js, setting up a project with sensible defaults and best practices for development efficiency and scalability. The npm package simplifies version management and ensures that the most compatible and recent version of Next.js is used. Using Next.js from npm also guarantees access to regular updates and community support, helping developers keep their applications secure and up-to-date with the latest web technologies. Furthermore, the integration with npm enhances project dependency management, making it easier to maintain and scale large projects.

Next.js is continually evolving to include more features that cater to modern web development needs. Its compatibility with TypeScript, built-in CSS support, and features like image optimization, internationalization, and fast refresh significantly improve the development experience and end-user performance. These capabilities make Next.js an indispensable tool in the modern developer's toolkit, ensuring applications are not only fast and responsive but also maintainable and future-proof.

More from vercel

vercel npm packages

Find the best node modules for your project.

Search npm

@next/env

Next...

Read more
,

next

The React...

Read more
,

styled-jsx

Full CSS support for JSX without...

Read more
,

@next/eslint-plugin-next

ESLint plugin for Next.js...

Read more
,

eslint-config-next

ESLint configuration used by Next.js...

Read more
,

@edge-runtime/primitives

A set of primitives to build Vercel Edge Runtime...

Read more
,

@vercel/analytics

Gain real-time traffic insights with Vercel Web...

Read more
,

vercel

The command-line interface for...

Read more
,

@vercel/speed-insights

Speed Insights is a tool for measuring web performance and providing suggestions for improvement...

Read more
,

@vercel/error-utils

A collection of error utilities for...

Read more
,

@vercel/gatsby-plugin-vercel-analytics

Track Core Web Vitals in Gatsby projects with Vercel Speed Insights...

Read more
,

@vercel/ncc

Simple CLI for compiling a Node...

Read more

Dependencies

Core dependencies of this npm package and its dev dependencies.

@babel/plugin-proposal-object-rest-spread, @babel/preset-flow, @babel/preset-react, @fullhuman/postcss-purgecss, @mdx-js/loader, @svgr/webpack, @testing-library/react, @types/cheerio, @types/fs-extra, @types/http-proxy, @types/jest, @types/string-hash, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, @zeit/next-css, @zeit/next-sass, @zeit/next-typescript, abort-controller, alex, amphtml-validator, async-sema, babel-core, babel-eslint, babel-jest, browserslist, browserstack-local, cheerio, clone, cookie, cors, coveralls, critters, cross-env, cross-spawn, escape-string-regexp, eslint, eslint-plugin-import, eslint-plugin-jest, eslint-plugin-react, eslint-plugin-react-hooks, execa, express, faker, faunadb, firebase, fs-extra, get-port, glob, gzip-size, image-size, is-animated, isomorphic-unfetch, jest, ky, ky-universal, lerna, lint-staged, lost, minimatch, moment, node-fetch, node-notifier, node-sass, npm-run-all, nprogress, pixrem, pnpm, postcss-nested, postcss-pseudoelements, postcss-short-size, postcss-trolling, pre-commit, prettier, pretty-bytes, pretty-ms, react, react-dom, react-ssr-prepass, release, request-promise-core, rimraf, seedrandom, selenium-standalone, selenium-webdriver, shell-quote, sqlite, sqlite3, styled-components, styled-jsx-plugin-postcss, tailwindcss, taskr, tree-kill, typescript, wait-port, web-streams-polyfill, webpack-bundle-analyzer, worker-loader

Documentation

A README file for the next code repository. View Code

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the full documentation.

Who is using Next.js?

Next.js is used by the world's leading companies. Check out the Next.js Showcase to learn more.

Community

The Next.js community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the Next.js Discord.

Our Code of Conduct applies to all Next.js community channels.

Contributing

Please see our contributing.md.

Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

Authors