Nano is a simple editor. It enables the editing of files in a terminal or on the console, even without a graphical environment. Nano has a smaller range of functions than, for example, VIM or Emacs, but is much easier and more intuitive to use. Nano is therefore particularly suitable for smaller, quick edits or for writing short scripts.
Nano is pre-installed on Raspberry OS and most other Linux distributions as well as on MacOS.
If this is not the case, it can be done with
sudo apt install nano -y
.
In opend Naon, help is available with ctrl - g