Getting Started
This guide will walk you though installing and creating your first site with the CLI.
Installation
Lets get rolling with the Netlify CLI.
Install the CLI locally
npm install netlify-cli -g
Login to your Netlify Account
netlify login
If you are new to Netlify, you can create an account here.
Initialize a new site
Inside of your sites
cwd
, run the following CLI command:netlify init
Link an existing site
If your site is already created inside of Netlify, you can run the link
command to connect the CLI to your site.
netlify link