ZEIT Now is a cloud platform for static sites and Serverless Functions. It enables developers to host websites and web services that deploy instantly, scale automatically, and requires no supervision, all with no configuration.
Getting started with Now takes just a few steps and lets you get up and running with your new project in less than a minute.
Quickstarts let you get started quickly. The following quickstarts are paired with guides and a deploy button, based on the example found in the Now repository, to help you get going with your project as fast as possible.
If you like to do things manually, you can deploy with ZEIT Now through your terminal with any local project.
You can get Now CLI from either npm or Yarn. Using npm, run the following command from your terminal:
npm i -g now
To verify that you have installed Now CLI, try running
now help from your terminal.
With Now CLI installed, you can now login using the following command:
You can create a new Next.js application with the following command using either npm or Yarn:
npm init next-app my-next-project
When your Next.js app is created, all you have to do is move into the directory (with
cd my-next-project in your terminal) and then deploy your app with a single command in your terminal:
Once deployed, you will get a preview URL that is assigned on each deployment to share the latest changes under the same address.
The preview URL will look like the following: https://my-next-project.now-examples.now.sh/
For more information on what to do next, we recommend the following articles: