You might get zsh: command not found: nano, if you the nano package is missing on your Ubuntu. So to fix this issue you need to install nano using package manager like apt, example - apt install nano,
% apt install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
hunspell
The following NEW packages will be installed:
nano
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 261 kB of archives.
After this operation, 868 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 nano arm64 4.8-1ubuntu1 [261 kB]
Fetched 261 kB in 1s (263 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package nano.
(Reading database ... 8707 files and directories currently installed.)
Preparing to unpack .../nano_4.8-1ubuntu1_arm64.deb ...
Unpacking nano (4.8-1ubuntu1) ...
Setting up nano (4.8-1ubuntu1) ...
update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode
Now lets try using nano command,
% nano abc.txt

More Posts related to zsh,
- Ubuntu zsh: command not found: nano
- Setting up Zsh Syntax Highlighting
- Fix for zsh: command not found: brew
- Fix - zsh: command not found: conda [macOS]
- Resolve - zsh: command not found: code
- How to make zsh as the default shell on Ubuntu
- zsh: exec format error eclipse M1 Mac
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- Fix zsh: permission denied: script.sh
- zsh: command not found [fix] macOS
More Posts:
- How to get query string in JavaScript HTML location.search - JavaScript
- [fix] Editor could not be opened unexpected error: File is a directory (VS Code) - HowTos
- Setting up Cloud feature with Notepad++ - NotepadPlusPlus
- Teams - You're offline. Messages you send while offline will be sent when you're back online - Teams
- How to Change name on Microsoft Teams Application - Teams
- Install OpenSSL on Linux/Ubuntu - Linux
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting - SharePoint
- Open New tab using keyboard shortcut in Mac Terminal - Mac-OS-X