Install nano editor latest version (Build from source)

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

cd nano-${VERSION}
./configure
make -j$(nproc)
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"