Company
Date Published
Author
Phil Hawksworth
Word count
305
Language
English
Hacker News points
None

Summary

Throughout December, we'll be highlighting a different Netlify feature each day to help unlock creative potential and deploy sites without leaving the command line. The open source Netlify CLI includes helpful features and allows deploying production or preview versions of your site with the `netlify deploy` command. Installing the CLI can be done with `npm install -g netlify-cli`, and it provides a unique preview URL for added safety. Deploying to production requires using the `--prod` flag, which is part of Netlify's build infrastructure for more powerful deployment pipelines.