Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

netlify-cli

Package Overview
Dependencies
Maintainers
21
Versions
1183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-cli

Netlify command line tool

  • 17.36.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
141K
increased by10.58%
Maintainers
21
Weekly downloads
 
Created

What is netlify-cli?

The netlify-cli package is a command-line tool that allows you to interact with Netlify services. It provides functionalities for deploying sites, managing DNS, handling functions, and more, directly from your terminal.

What are netlify-cli's main functionalities?

Deploy a site

This command deploys the site located in the './build' directory to Netlify. It is useful for quickly pushing updates to your site.

netlify deploy --dir=./build

Login to Netlify

This command opens a browser window to authenticate your Netlify account. It is the first step to using other Netlify CLI commands that require authentication.

netlify login

Create a new site

This command creates a new site on Netlify with the specified name 'my-new-site'. It is useful for setting up new projects quickly.

netlify sites:create --name=my-new-site

Manage DNS records

This command adds a DNS record to your Netlify-managed domain. It is useful for configuring custom domains and subdomains.

netlify dns:add --name=subdomain --type=A --value=127.0.0.1

Invoke serverless functions

This command invokes a serverless function named 'my-function' deployed on Netlify. It is useful for testing and debugging serverless functions.

netlify functions:invoke my-function

Other packages similar to netlify-cli

Keywords

FAQs

Package last updated on 30 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc