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

gatsby-cli

Package Overview
Dependencies
Maintainers
20
Versions
1055
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-cli

Gatsby command-line interface for creating new sites and running Gatsby commands

  • 4.25.0
  • latest-v4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
269K
decreased by-6.49%
Maintainers
20
Weekly downloads
 
Created

What is gatsby-cli?

The gatsby-cli npm package is a command-line interface tool for creating, developing, and managing Gatsby sites. It provides a range of commands to streamline the development process, from setting up new projects to deploying them.

What are gatsby-cli's main functionalities?

Create a new Gatsby site

This command initializes a new Gatsby site in a directory called 'my-gatsby-site'. It sets up the necessary files and dependencies to get started with a Gatsby project.

gatsby new my-gatsby-site

Develop a Gatsby site

This command starts a local development server and watches for changes in your Gatsby site. It provides hot-reloading and a GraphQL data layer for building and testing your site locally.

gatsby develop

Build a Gatsby site

This command generates a production-ready static site. It compiles your site into static files that can be deployed to any web server.

gatsby build

Serve a Gatsby site

This command starts a local server to serve the production build of your site. It is useful for testing the final output before deploying it.

gatsby serve

Clean Gatsby cache

This command deletes the .cache and public directories. It is useful for troubleshooting and ensuring a clean build environment.

gatsby clean

Other packages similar to gatsby-cli

Keywords

FAQs

Package last updated on 07 Dec 2022

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