Netlify is a frontend hosting platform built by Netlify Inc., tied for #35 in usage among developer tools at roughly 5.4%. It's one of the pioneers of the modern "push to deploy" workflow โ connect a Git repo and every commit triggers an automatic build and deploy โ alongside built-in serverless functions, forms handling, and split testing. It's a mainstay for static sites and Jamstack-style frontend apps.
Netlify reads build and routing settings from a netlify.toml file at the root of your repo.
# netlify.toml โ build settings and a redirect rule
[build]
command = "npm run build"
publish = "dist"
[[redirects]]
from = "/old-blog/*"
to = "/blog/:splat"
status = 301
Install the Netlify CLI to deploy from your terminal, or connect a Git repo through the dashboard for automatic deploys.
# install the Netlify CLI
npm install -g netlify-cli
# log in and deploy the current directory to production
netlify login
netlify deploy --prod