nano
Command-line text editor. An enhanced Pico clone. More information: <https://nano-editor.org>.
Install
- All systems
-
curl cmd.cat/nano.sh
- Debian
-
apt-get install nano
- Ubuntu
-
apt-get install nano
- Alpine
-
apk add nano
- Arch Linux
-
pacman -S nano
- 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
- Dockerfile
- dockerfile.run/nano
- Docker
-
docker run cmd.cat/nano nano
powered by Commando
Command-line text editor. An enhanced Pico clone. More information: <https://nano-editor.org>.
-
Start the editor:
nano
-
Start the editor without using configuration files:
nano --ignorercfiles
-
Open specific files, moving to the next file when closing the previous one:
nano path/to/file1 path/to/file2 ...
-
Open a file and position the cursor at a specific line and column:
nano +line,column path/to/file
-
Open a file and enable soft wrapping:
nano --softwrap path/to/file
-
Open a file and indent new lines to the previous line's indentation:
nano --autoindent path/to/file
-
Open a file and create a backup file (`path/to/file~`) on save:
nano --backup path/to/file
© tl;dr; authors and contributors