This guide will walk you though installing and creating your first site with the CLI.
Lets get rolling with the Netlify CLI.
Install the CLI locally
npm install netlify-cli -g
Important: When using the CLI in a CI environment we recommend installing it locally. See more here.
Login to your Netlify Account
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:
If your site is already created inside of Netlify, you can run the
link command to connect the CLI to your site.