# Install netlify-cli with Homebrew, Nix, apt, pacman, dnf, MacPorts, zypper

Netlify command-line tool. Version 27.0.1 via Homebrew; verified 2026-07-28. Also installable with nix: nix profile install nixpkgs#netlify-cli.

## Install

```sh
sudo av install brew:netlify-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install netlify-cli
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ntl
```

  Evidence: MacPorts ports tree: math/ntl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#netlify-cli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ne/netlify-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install node-gyp
```

  Evidence: Debian stable package indexes: node-gyp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S node-gyp
```

  Evidence: Arch Linux sync databases: node-gyp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- dnf (92%):

```sh
sudo dnf install ntl
```

  Evidence: Fedora Rawhide package metadata: ntl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install libntl45
```

  Evidence: openSUSE Tumbleweed package metadata: libntl45 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:netlify-cli
- **Package manager:** Homebrew
- **Version:** 27.0.1
- **Source summary:** Netlify command-line tool
- **Homepage:** <https://www.netlify.com/docs/cli>
- **Last updated:** 2026-07-28T22:26:49Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- netlify (alias)
- node-gyp (alias)
- ntl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 27.0.1
## Project history and usage

Netlify CLI is the command-line front door to Netlify projects: login, initialize or link sites, run local development with Netlify Dev, run builds, manage environment variables, and deploy. Netlify's documentation describes it as a way to configure continuous deployment from the command line, run a shareable local development server, run local builds and plugins, and deploy a site.

### Project history

The npm registry history shows `netlify-cli` beginning at 0.0.1 on 2014-11-14, with the package description at that time focused on building, deploying, and hosting front ends from GitHub. The project later moved to the `netlify/cli` GitHub repository and had thousands of commits and more than a thousand GitHub releases by 2026.

Netlify's 2019-05-28 blog post framed a CLI redesign around Netlify Dev: a local development environment that exposes redirects, functions, environment variables, and add-ons from a developer machine before production deployment.

### Adoption history

Adoption is large by package-manager standards. The npm downloads API reported 1,014,221 downloads for `netlify-cli` from 2026-05-30 through 2026-06-28. Homebrew's 2026-07-01 formula API reported stable version 26.1.0 and 8,915 installs over 365 days.

The CLI is part of the Netlify workflow rather than a generic deployment client. Its adoption follows Netlify users who want local reproduction of Netlify behavior, local deploy previews, CI-pinned versions, and scripted project setup.

### How it is used

Typical commands are `netlify login`, `netlify init`, `netlify link`, `netlify dev`, `netlify build`, and `netlify deploy`. The deploy reference says `netlify deploy` builds and deploys a project, creates a draft deploy by default, and uses `--prod` for the live site.

Package nerds care about installation mode: Netlify docs recommend global installation for local development, but local dev-dependency installation with a lock file in CI to avoid surprise breaking changes. Homebrew provides an alternate global install path for users who prefer system package management over npm globals.

### Why package nerds care

This is a good example of a hosted-platform CLI that became the operational interface for local parity: it is not just a deploy uploader, it is the thing developers use to make Netlify-specific routing, functions, builds, and environment behavior visible before pushing.

### Timeline

- 2014-11-14: npm registry records `netlify-cli` 0.0.1.
- 2019-05-28: Netlify published the CLI redesign and Netlify Dev announcement post.
- 2026-05-31: GitHub listed v26.1.0 as the latest release.
- 2026-05-30 to 2026-06-28: npm downloads API reported 1,014,221 downloads.

### Related projects

- Netlify Dev
- Netlify Build
- Netlify Functions
- Netlify Edge Functions
- netlify.toml

### Sources

- <https://api.npmjs.org/downloads/point/last-month/netlify-cli>
- <https://cli.netlify.com/commands/deploy/>
- <https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/>
- <https://formulae.brew.sh/api/formula/netlify-cli.json>
- <https://github.com/netlify/cli>
- <https://registry.npmjs.org/netlify-cli>
- <https://www.netlify.com/blog/2019/05/28/deploy-in-seconds-with-netlify-cli/>


## Security Notes

No matching local secret-handling manifest was found for netlify-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- macOS: ~/Library/Preferences/netlify/config.json
- Unix: ~/.netlify/config.json

## Credential files

- macOS: ~/Library/Preferences/netlify/config.json
- Unix: ~/.netlify/config.json
## Other Package-Manager Records

- Nix - netlify-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netlify-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ntl: installed executable or alias match | MacPorts ports tree: math/ntl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - libntl-dev - 11.5.1-1+b3: installed executable or alias match | Debian stable package indexes: libntl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Number Theory Library, development files | http://www.shoup.net/ntl/
- Debian apt - libntl44 - 11.5.1-1+b3: installed executable or alias match | Debian stable package indexes: libntl44 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Number Theory Library, shared library | http://www.shoup.net/ntl/
- Debian apt - node-gyp - 11.1.0+~5.0.0-1: installed executable or alias match | Debian stable package indexes: node-gyp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Native addon build tool for Node.js | https://github.com/nodejs/node-gyp
- Nix - node-gyp: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/no/node-gyp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - ntl: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/nt/ntl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libntl-dev - 11.5.1-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libntl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Number Theory Library, development files | http://www.shoup.net/ntl/
- Ubuntu apt - libntl44 - 11.5.1-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libntl44 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Number Theory Library, shared library | http://www.shoup.net/ntl/
- Ubuntu apt - node-gyp - 9.3.0-3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: node-gyp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Native addon build tool for Node.js | https://github.com/nodejs/node-gyp
- dnf - ntl - 11.6.0-6.fc45: installed executable or alias match | Fedora Rawhide package metadata: ntl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | High-performance algorithms for vectors, matrices, and polynomials | https://libntl.org/
- dnf - ntl-devel - 11.6.0-6.fc45: installed executable or alias match | Fedora Rawhide package metadata: ntl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for ntl | https://libntl.org/
- pacman - node-gyp - 13.0.1-1: installed executable or alias match | Arch Linux sync databases: node-gyp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Node.js native addon build tool | https://github.com/nodejs/node-gyp
- pacman - ntl - 11.6.0-2: installed executable or alias match | Arch Linux sync databases: ntl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Library for doing Number Theory | https://www.shoup.net/ntl/
- zypper - libntl45 - 11.6.0-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: libntl45 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for Number Theory | https://shoup.net/ntl/
- zypper - ntl-devel - 11.6.0-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: ntl-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libntl | https://shoup.net/ntl/


## Combined YAML source

View the package source record on GitHub. [combined/netlify-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/netlify-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
