Netlify CLI


build

(Beta) Build on your local machine

Usage

netlify build

Flags

  • context (string) - Specify a build context or branch (contexts: "production", "deploy-preview", "branch-deploy", "dev")
  • dry (boolean) - Dry run: show instructions without running them
  • offline (boolean) - disables any features that require network access
  • debug (boolean) - Print debugging information
  • http-proxy (string) - Proxy server address to route requests through.
  • http-proxy-certificate-filename (string) - Certificate file to use when connecting using a proxy server

Examples

netlify build