nano

Simple, easy to use command-line text editor. An enhanced, free Pico clone. More information: <https://nano-editor.org>.

Install

All systems
curl cmd.cat/nano.sh
Debian Debian
apt-get install nano
Ubuntu
apt-get install nano
Alpine
apk add nano
Arch Arch Linux
pacman -S nano
image/svg+xml Kali Linux
apt-get install nano
CentOS
yum install nano
Fedora
dnf install nano
Windows (WSL2)
sudo apt-get update sudo apt-get install nano
OS X
brew install nano
Raspbian
apt-get install nano
Docker
docker run cmd.cat/nano nano powered by Commando

Simple, easy to use command-line text editor. An enhanced, free Pico clone. More information: <https://nano-editor.org>.

  • Open a new file in nano:
    nano
  • Open a specific file:
    nano path/to/file
  • Open a specific file, positioning the cursor at the specified line and column:
    nano +line,column path/to/file
  • Open a specific file and enable soft wrapping:
    nano --softwrap path/to/file
  • Open a specific file and indent new lines to the previous lines' indentation:
    nano --autoindent path/to/file
  • Open nano and create a backup file (`file~`) when saving edits:
    nano --backup path/to/file

© tl;dr; authors and contributors