[Netlify](https://www.netlify.com/) is a cloud platform for web hosting, automation, and serverless functions. ## Install locally Install the CLI. ```bash npm i -D netlify-cli ``` Sign in and initialize the project. ```bash 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 ](https://gist.github.com/DavidWells/43884f15aed7e4dcb3a6dad06430b756) to configure `netlify.toml`. Deploy a preview. ```bash npx netlify deploy ``` Deploy to production. ```bash npx netlify deploy --prod ``` > [!tip] > Instead of depending on `netlify.toml`, you can issue flags to the [`build` command](https://cli.netlify.com/commands/build). ## Resources - Deployments - [Site deploys overview](https://docs.netlify.com/site-deploys/overview/) - Environment variables - [List of build environment variables](https://docs.netlify.com/configure-builds/environment-variables/#declare-variables)