- Notifications
You must be signed in to change notification settings - Fork436
Netlify Command Line Interface
License
netlify/cli
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Interact withNetlify from the comfort of your CLI.
See theCLI command line reference to get started and the docs on usingNetlify Dev to run your site locally.
Click to expand
Netlify CLI requiresNode.js version 20.12.2 or above. To install, run the following command fromany directory in your terminal:
npm install netlify-cli -g
When using the CLI in a CI environment we recommend installing it locally as a development dependency, instead ofglobally. To install locally, run the following command from the root directory of your project:
npm install --save-dev netlify-cli
Important: Runningnpm install netlify-cli -g in CI means you're always installing the latest version of the CLI,includingbreaking changes. When you install locally and use alock file you guarantee reproducible builds. To manage CLI updates werecommend using an automated tool likerenovate ordependabot.
Alternatively you may also use Homebrew:brew install netlify-cli (thanks@cglong).
Installing the CLI globally provides access to thenetlify command.
netlify [command]#Run`help`for detailed information about CLI commandsnetlify [command] help
To learn how to log in to Netlify and start deploying projects, visit thedocumentation on Netlify.
For a full command reference visitcli.netlify.com.
SeeCONTRIBUTING.md for more info on how to make contributions to this project.
You'll need to follow these steps to run Netlify CLI locally:
uninstall any globally installed versions of netlify-cliclone and install deps for https://github.com/netlify/clinpm link from inside the cli folderNow you're both ready to start testing and to contribute to the project!
MIT. SeeLICENSE for more details.
About
Netlify Command Line Interface
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
