
Learn nano in the terminal to edit, save, and open files quickly, in 30 minutes, ideal for ssh sessions or git commits, beginner-friendly and lightweight.
Install nano via apt, homebrew, or pacman, or use Nix for a temporary setup. Verify with nano --version to see the installed version, such as 7.2 in a tmux pane.
Learn how to open or create a file with nano in the terminal, edit immediately in a non-modal editor, and save with ctrl-s or ctrl-o and close with ctrl-x.
Learn to edit files in nano with no insert mode, keybinds like ctrl g, ctrl w, ctrl a, ctrl e, ctrl k, and ctrl u for navigation, search, and paste.
Configure nano with a nano rc file in your home directory to enable line numbers, soft rep, tab size, and mouse support, but note machines may not carry your rc.
Initialize a git repository, configure nano as the default editor, and experience fast, lightweight commits versus vim for writing commit messages.
Congrats on making it through this course!
Learn how to use the GNU Nano text editor in under 30 minutes.
This course is perfect for beginners who want to edit files in the terminal without the steep learning curve of more complex editors like Vim or Emacs. Whether you're new to the command line or just need a lightweight, no-nonsense way to open and edit files, Nano is a great tool to have in your toolbox.
In this short course, you'll get hands-on with Nano and learn:
How to open, create, and save files
Essential keyboard shortcuts
Searching, cutting, and pasting text
Navigating and editing files efficiently
Using the Nano help pages for quick reference
You'll be able to follow along with practical examples and exercises to reinforce what you learn. By the end, you'll not only understand how to use Nano, but you'll also feel more confident working in the terminal.
About the Author
I'm a developer who has started out just like you. Intimidated by terminal tools but eager to learn. I've since built a career working in web development and picked up tools like (Neo)Vim, Tmux, and LazyGit along the way. This Nano course is a stepping stone to help you build that same confidence.