Automic VaultAutomic Vault

brew

Install nano with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Free (GNU) replacement for the Pico text editor. Version 9.1 via Homebrew; verified 2026-06-23.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nano

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nano

MacPorts ports tree · editors/nano/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add nano

Alpine Linux edge package indexes · nano · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install nano

Debian stable package indexes · nano · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install default-editor

Fedora Rawhide package metadata · default-editor · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nano

nixpkgs package indexes · pkgs/by-name/na/nano/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S nano

Arch Linux sync databases · nano · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install nano

openSUSE Tumbleweed package metadata · nano · source: download.opensuse.org

overview

Package summary

Free (GNU) replacement for the Pico text editor

Commands and aliases

  • nano
  • rnano

history

Project history and usage

GNU nano is the small, friendly terminal text editor that began as a free replacement for Pico and became a default-ish editor across Unix-like systems.

Project history

nano began in late 1999 when Chris Allegretta created TIP to provide a free software replacement for Pico, the editor bundled with the University of Washington's Pine mail client. The old nano FAQ says Debian's free-software standards kept Pine/Pico binaries out, leaving users who liked Pico's interface without a fully free package.

The name changed from TIP to nano on 2000-01-10 to avoid conflict with the existing Unix `tip` utility, and nano joined the GNU Project in February 2001. The project kept Pico's approachable modeless interface while adding capabilities that accumulated over time: regular-expression search, syntax highlighting, `.nanorc`, multiple buffers, UTF-8, undo/redo, line numbers, soft wrapping, file locking, and more.

Adoption history

nano's adoption story is practical rather than flashy: it became the editor many distributions could ship when they wanted a Pico-like, GPL-compatible terminal editor for beginners and recovery shells. Its interface exposed common commands at the bottom of the screen, which made it friendlier than modal editors for quick edits to config files.

Homebrew's formula page consulted on 2026-07-01 listed nano 9.1 and 39,145 installs over the prior 365 days, far above the other packages in this batch. That Mac/Linuxbrew usage reflects its role as a familiar terminal editor even on systems that already ship another editor.

How it is used

The manual describes the normal invocation as `nano [FILE]`, with optional line/column positioning, search-on-open, stdin editing via `nano -`, and configuration through nanorc files. Users edit directly because nano is modeless; control and meta key combinations handle save, exit, search, replace, cut, paste, help, and other commands.

Package nerds install nano for quick config edits, container images, remote shells, rescue environments, and scripts or docs that need an editor nearly anyone can operate. The restricted `rnano` binary is useful when an environment wants to limit file access and shell escapes.

Why package nerds care

nano is significant because it solves the packaging and UX problem Pico could not: a small, libre, approachable terminal editor with few dependencies. It is the editor people install when 'just open the file and save it' matters more than an editor culture war.

Timeline

  • Late 1999: Chris Allegretta creates TIP as a free Pico replacement.
  • 2000-01-10: TIP is renamed nano.
  • 2001-02: nano becomes part of the GNU Project.
  • 2007: nano switches to GPL-3.0-or-later licensing in the 2.0.7 era.
  • 2026-06-23: nano homepage lists latest version 9.1.
  • 2026-07-01: Homebrew Formulae page listed 39,145 installs over the prior 365 days.

Related projects

  • Pico
  • Pine
  • GNU Project
  • ncurses

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/nanorc~/.nanorc$XDG_CONFIG_HOME/nano/nanorc~/.config/nano/nanorc

executables

Installed executables

CommandKindExposureNote
nanocliglobal executable
rnanocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version9.1
manager updated2026-06-23
local dataok
upstreamnot checked
latest detectednot detected

https://www.nano-editor.org/

install metadata

Package metadata

Package keybrew:nano
Version9.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nano
Homepagehttps://www.nano-editor.org/
Repositoryhttps://git.savannah.gnu.org/git/nano.git
Upstream docshttps://www.nano-editor.org/dist/latest/nano.html
LicenseGPL-3.0-or-later
Source archivehttps://www.nano-editor.org/dist/v9/nano-9.1.tar.xz
Last updated2026-06-23T08:31:13Z
Pulseupdated
Dependenciesgettext, ncurses
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsA sample configuration file is available at $HOMEBREW_PREFIX/share/doc/nano/sample.nanorc See `man nanorc` for more information.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenano
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

nano 8.4-1+deb13u1

small, friendly text editor inspired by Pico

https://www.nano-editor.org/

sudo apt install nano
  • Section: editors
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nano
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nano from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nano-tiny 8.4-1+deb13u1

small, friendly text editor inspired by Pico - tiny build

https://www.nano-editor.org/

sudo apt install nano-tiny
  • Section: editors
  • Architecture: amd64
  • Source Package: nano
  • 3 dependencies
  • normalized package name match
  • Matched by: Nano
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nano-tiny from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nano

nix profile install nixpkgs#nano
  • normalized package name match
  • Matched by: Nano
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/na/nano/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

nano 7.2-2build1

small, friendly text editor inspired by Pico

https://www.nano-editor.org/

sudo apt install nano
  • Section: editors
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nano
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nano from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

nano-tiny 7.2-2build1

small, friendly text editor inspired by Pico - tiny build

https://www.nano-editor.org/

sudo apt install nano-tiny
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: nano
  • 3 dependencies
  • normalized package name match
  • Matched by: Nano
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nano-tiny from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nano 9.0-r0

Enhanced clone of the Pico text editor

https://www.nano-editor.org/

sudo apk add nano
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nano
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nano
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nano from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nano-doc 9.0-r0

Enhanced clone of the Pico text editor (documentation)

https://www.nano-editor.org/

sudo apk add nano-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nano
  • normalized package name match
  • Matched by: Nano
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nano-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nano-syntax 9.0-r0

Syntax highlighting definitions for nano

https://www.nano-editor.org/

sudo apk add nano-syntax
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nano
  • 1 dependencies
  • normalized package name match
  • Matched by: Nano
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nano-syntax from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

default-editor 9.0-2.fc45

Metapackage for DNF group

https://www.nano-editor.org

sudo dnf install default-editor
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nano
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nano
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: default-editor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nano 9.0-2.fc45

A small text editor

https://www.nano-editor.org

sudo dnf install nano
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nano
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nano
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nano from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nano-default-editor 9.0-2.fc45

Sets GNU nano as the default editor

https://www.nano-editor.org

sudo dnf install nano-default-editor
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: nano
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Nano
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nano-default-editor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nano 9.0-1

Pico editor clone with enhancements

https://www.nano-editor.org

sudo pacman -S nano
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Nano
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nano from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
pacman95%

orbiton-nano 2.74.3-1

Configuration-free text editor and IDE (Nano/Pico Mode)

https://roboticoverlords.org/orbiton/

sudo pacman -S orbiton-nano
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nano
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: orbiton-nano from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

nano 9.0-2.1

Pico editor clone with enhancements

https://nano-editor.org/

sudo zypper install nano
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Editors
  • Architecture: x86_64
  • Source Package: nano
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Nano
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nano from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nano-lang 9.0-2.1

Translations for package nano

https://nano-editor.org/

sudo zypper install nano-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: nano
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Nano
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nano-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

nano

sudo port install nano
  • normalized package name match
  • Matched by: Nano
MacPorts ports tree · api.github.com · MacPorts ports tree: editors/nano/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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