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