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

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.


Deploying a Project Locally

If you like to do things manually, you can deploy with ZEIT Now through your terminal with any local project.

Installing Now CLI

To deploy with ZEIT Now through your terminal, you will need to install Now CLI, a frequently updated, and open-source, command-line interface.

You can get Now CLI from either npm or Yarn. Using npm, run the following command from your terminal:

npm i -g now

Installing Now CLI with npm in the terminal.

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:

now login

Login with Now CLI from the terminal.

Creating a Project and Deploying

You can create a new Next.js application with the following command using either npm or Yarn:

npm init next-app my-next-project

Creating a new Next.js project with npm.

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:

now

Deploying your new Next.js project with Now CLI.

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/

Related

For more information on what to do next, we recommend the following articles: