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

Netlify command-line tool. Version 26.2.0 via Homebrew; verified 2026-07-08. 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:netlify-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/netlify-cli>
- **Version:** 26.2.0
- **Source summary:** Netlify command-line tool
- **Homepage:** <https://www.netlify.com/docs/cli>
- **Repository:** <https://github.com/netlify/cli>
- **Upstream docs:** <https://cli.netlify.com/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/netlify-cli/-/netlify-cli-26.2.0.tgz>
- **Last updated:** 2026-07-08T09:39:08Z
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

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

## Dependencies

- gettext
- glib
- node
- vips

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 26.2.0
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://www.netlify.com/docs/cli
- info: Release/tag comparison is only available for GitHub repositories.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** netlify-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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-4.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | High-performance algorithms for vectors, matrices, and polynomials | https://libntl.org/
- dnf - ntl-devel - 11.6.0-4.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for ntl | https://libntl.org/
- pacman - node-gyp - 12.4.0-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.3: installed executable or alias match | openSUSE Tumbleweed package metadata: libntl45 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for Number Theory | https://shoup.net/ntl/
- zypper - ntl-devel - 11.6.0-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: ntl-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for libntl | https://shoup.net/ntl/


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [vips](https://www.automicvault.com/pkg/brew/vips/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cartridge-cli](https://www.automicvault.com/pkg/brew/cartridge-cli/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [deployer](https://www.automicvault.com/pkg/brew/deployer/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [doubledown](https://www.automicvault.com/pkg/brew/doubledown/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [fabric](https://www.automicvault.com/pkg/brew/fabric/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [kamal-proxy](https://www.automicvault.com/pkg/brew/kamal-proxy/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [kapp](https://www.automicvault.com/pkg/brew/kapp/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [kargo](https://www.automicvault.com/pkg/brew/kargo/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [modman](https://www.automicvault.com/pkg/brew/modman/) - Shares av.db curated category or tags: cli, deployment, developer-tools.
- [node-gyp](https://www.automicvault.com/pkg/npm/node-gyp/) - Executable or command metadata overlaps with this package. Shared terms: cli, developer, developer-tools, gyp, node.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
