how to install nano on linux code example Example 1: install nano sudo apt-get -y install nano Example 2: install nano ubuntu sudo apt install nano