install nano bash code example Example 1: install nano sudo apt-get -y install nano Example 2: install nano ubuntu sudo apt install nano