Install nano editor latest version (Build from source)

VERSION=4.8
wget https://www.nano-editor.org/dist/v4/nano-${VERSION}.tar.gz
tar xf nano-${VERSION}.tar.gz
rm -f nano-${VERSION}.tar.gz

cd nano-${VERSION}
./configure
make
sudo make install
cd ..
sudo rm -rf /usr/local/src/nano-*
sudo mv nano-${VERSION} /usr/local/src
touch ~/.nanorc
nano ~/.nanorc

# Enable syntax higlighting
include "/usr/local/share/nano/*.nanorc"