skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

netlify-cli-and-deploy

CLI setup, local dev, and deployment workflows

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/netlify/context-and-tools --skill netlify-cli-and-deploy

Overview

What This Skill Does

Covers the Netlify CLI for site setup, deployment, and local development. Handles both Git-based continuous deployment and manual deploy workflows, plus environment variable management across deploy contexts.

Application

When to use this Skill

Documentation

Show Skills.md file

Netlify CLI and Deployment

Installation

npm install -g netlify-cli    # Global (for local dev)
npm install netlify-cli -D    # Local (for CI)

Requires Node.js 18.14.0+.

Authentication

netlify login       # Opens browser for OAuth
netlify status      # Check auth + linked site status

For CI, set NETLIFY_AUTH_TOKEN environment variable instead.

Linking a Site

Check if already linked with netlify status. If not:

# Interactive
netlify link

# By Git remote (if using Git)
netlify link --git-remote-url https://github.com/org/repo

# Create new site
netlify init           # With Git CI/CD setup
netlify init --manual  # Without Git CI/CD
Lines 1 - 35 of 146

Recommendations

Explore other random skills

All skillsMy patterns