Netlify

Netlify is a cloud platform for web hosting, automation, and serverless functions.

Install locally

Install the CLI.

npm i -D netlify-cli

Sign in and initialize the project.

npx netlify login
npx netlify init

Deploy manually

The deploy command inspects your netlify.toml file for values.

Info

Here are all the possible values to configure netlify.toml.

Deploy a preview.

npx netlify deploy

Deploy to production.

npx netlify deploy --prod
Tip

Instead of depending on netlify.toml, you can issue flags to the build command.

Resources

Netlify
Interactive graph
On this page
Install locally
Deploy manually
Resources