netlify-cli
Netlify command line tool
Last updated 8 months ago by bret .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install netlify-cli 
SYNC missed versions from official npm registry.

Netlify CLI

npm version build status coverage dependencies downloads netlify-status

Welcome to the Netlify CLI! The new 2.0 version was rebuilt from the ground up to help improve the site building experience.

⚠️ If you are looking for docs on Netlify Dev, the netlify-dev-plugin repo was recently merged into this one. See Netlify Dev Docs here.

Table of Contents

<summary>Click to expand</summary>

Installation

Netlify CLI requires Node.js version 8 or above. To install, run the following command from any directory in your terminal:

npm install netlify-cli -g

Alternatively you may also use Homebrew: brew install netlify-cli (thanks @cglong).

Usage

Installing the CLI globally provides access to the netlify command.

netlify [command]

# Run `help` for detailed information about CLI commands
netlify [command] help

Documentation

To learn how to log in to Netlify and start deploying sites, visit the documentation on Netlify.

For a full command reference, see the list below, or visit cli.netlify.com.

Commands

addons

(Beta) Manage Netlify Add-ons

Subcommand description
addons:auth Login to add-on provider
addons:config Configure add-on settings
addons:create Add an add-on extension to your site
addons:delete Remove an add-on extension to your site
addons:list List currently installed add-ons for site

api

Run any Netlify API method

deploy

Create a new deploy from the contents of a folder

dev

Local dev server

Subcommand description
dev:exec Exec command

functions

Manage netlify functions

Subcommand description
functions:build build functions locally
functions:create create a new function locally
functions:invoke trigger a function while in netlify dev with simulated data, good for testing function calls including Netlify's Event Triggered Functions

init

Configure continuous deployment for a new or existing site

link

Link a local repo or project folder to an existing site on Netlify

login

Login to your Netlify account

open

Open settings for the site linked to the current folder

Subcommand description
open:admin Opens current site admin UI in Netlify
open:site Opens current site url in browser

sites

Handle various site operations

Subcommand description
sites:create Create an empty site (advanced)
sites:delete Delete a site
sites:list List all sites you have access to

status

Print status information

Subcommand description
status:hooks Print hook information of the linked site

switch

Switch your active Netlify account

unlink

Unlink a local folder from a Netlify site

watch

Watch for site deploy to finish

Contributing

See CONTRIBUTING.md for more info on how to make contributions to this project.

Development

You'll need to follow these steps to run Netlify CLI locally:

uninstall any globally installed versions of netlify-cli
clone and install deps for https://github.com/netlify/cli
npm link from inside the cli folder

Now you're both ready to start testing and to contribute to the project!

License

MIT. See LICENSE for more details.

Current Tags

  • 2.25.0                                ...           latest (2 days ago)

135 Versions

  • 2.25.0                                ...           2 days ago
  • 2.24.0                                ...           6 days ago
  • 2.23.1                                ...           6 days ago
  • 2.23.0                                ...           7 days ago
  • 2.22.0                                ...           7 days ago
  • 2.21.0                                ...           a month ago
  • 2.20.2                                ...           a month ago
  • 2.20.1                                ...           a month ago
  • 2.20.0                                ...           a month ago
  • 2.19.5                                ...           a month ago
  • 2.19.4                                ...           2 months ago
  • 2.19.3                                ...           2 months ago
  • 2.19.2                                ...           2 months ago
  • 2.19.1                                ...           2 months ago
  • 2.19.0                                ...           2 months ago
  • 2.18.2                                ...           2 months ago
  • 2.18.1                                ...           2 months ago
  • 2.17.0                                ...           2 months ago
  • 2.16.0                                ...           2 months ago
  • 2.15.0                                ...           3 months ago
  • 2.14.0                                ...           3 months ago
  • 2.13.1                                ...           3 months ago
  • 2.13.0                                ...           3 months ago
  • 2.12.0                                ...           4 months ago
  • 2.11.31                                ...           5 months ago
  • 2.11.30                                ...           5 months ago
  • 2.11.29                                ...           5 months ago
  • 2.11.28                                ...           5 months ago
  • 2.11.27                                ...           5 months ago
  • 2.11.26                                ...           5 months ago
  • 2.11.25                                ...           5 months ago
  • 2.11.24                                ...           5 months ago
  • 2.11.23                                ...           6 months ago
  • 2.11.22                                ...           6 months ago
  • 2.11.21                                ...           6 months ago
  • 2.11.20                                ...           6 months ago
  • 2.11.19                                ...           7 months ago
  • 2.11.18                                ...           7 months ago
  • 2.11.17                                ...           7 months ago
  • 2.11.16                                ...           7 months ago
  • 2.11.15                                ...           7 months ago
  • 2.11.14                                ...           8 months ago
  • 2.11.13                                ...           8 months ago
  • 2.11.12                                ...           8 months ago
  • 2.11.11                                ...           8 months ago
  • 2.11.10                                ...           8 months ago
  • 2.11.9                                ...           8 months ago
  • 2.11.8                                ...           8 months ago
  • 2.11.7                                ...           8 months ago
  • 2.11.6                                ...           8 months ago
  • 2.11.5                                ...           8 months ago
  • 2.11.4                                ...           8 months ago
  • 2.11.3                                ...           8 months ago
  • 2.11.2                                ...           8 months ago
  • 2.11.1                                ...           8 months ago
  • 2.11.0                                ...           8 months ago
  • 2.11.0-beta.0                                ...           8 months ago
  • 2.10.1                                ...           8 months ago
  • 2.10.0                                ...           8 months ago
  • 2.10.0-beta.1                                ...           8 months ago
  • 2.9.1                                ...           9 months ago
  • 2.9.0                                ...           9 months ago
  • 2.8.3                                ...           9 months ago
  • 2.8.2                                ...           9 months ago
  • 2.8.1                                ...           10 months ago
  • 2.8.0                                ...           10 months ago
  • 2.7.4                                ...           10 months ago
  • 2.7.3                                ...           10 months ago
  • 2.7.2                                ...           10 months ago
  • 2.7.0                                ...           10 months ago
  • 2.6.6                                ...           10 months ago
  • 2.6.5                                ...           10 months ago
  • 2.6.4                                ...           a year ago
  • 2.6.3                                ...           a year ago
  • 2.6.2                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.1                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.2.3                                ...           a year ago
  • 2.2.2                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.1.0-beta.2                                ...           a year ago
  • 2.1.0-beta.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-beta.10                                ...           a year ago
  • 2.0.0-beta.8                                ...           a year ago
  • 2.0.0-beta.7                                ...           a year ago
  • 2.0.0-beta.6                                ...           a year ago
  • 2.0.0-beta.5                                ...           a year ago
  • 2.0.0-beta.4                                ...           a year ago
  • 2.0.0-beta.3                                ...           a year ago
  • 2.0.0-beta.2                                ...           a year ago
  • 2.0.0-alpha.7                                ...           a year ago
  • 2.0.0-alpha.6                                ...           a year ago
  • 2.0.0-alpha.5                                ...           a year ago
  • 2.0.0-alpha.4                                ...           a year ago
  • 2.0.0-alpha.2                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.3.4                                ...           4 years ago
  • 0.3.3                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.15                                ...           4 years ago
  • 0.2.14                                ...           4 years ago
  • 0.2.13                                ...           4 years ago
  • 0.2.12                                ...           4 years ago
  • 0.2.11                                ...           4 years ago
  • 0.2.10                                ...           4 years ago
  • 0.2.9                                ...           4 years ago
  • 0.2.7                                ...           4 years ago
  • 0.2.6                                ...           4 years ago
  • 0.2.5                                ...           5 years ago
  • 0.2.4                                ...           5 years ago
  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Downloads
Today 137
This Week 191
This Month 364
Last Day 44
Last Week 173
Last Month 1,276
Dependencies (40)
Dev Dependencies (19)

Copyright 2014 - 2016 © taobao.org |