This post will show you how to install Nano on your Synology NAS. Many people prefer Nano since Nano is easier to use than VIM. Luckily the Synology NAS allows you to easily add additional software repositories and install Nano.
Enable SSH Access
You must enable SSH access to use Nano on your Synology NAS.
Click on the ‘Control Panel’ icon and then click on ‘Terminal & SNMP’. Finally, tick option called ‘Enable SSH Service’ and click ‘apply’.
Add a Nano Repository
Nano is not provided or maintained by Synology, but you can get it from the SynoCommunity repository. The SynoCommunity provides free packages for Synology NAS devices. Visit them at https://synocommunity.com/ and feel free to explore some of the other packages they have to offer like Git, Home Assistant and off course Nano.
To add the SynoCommunity repository:
Click on the ‘Package Center’ icon and then click on the ‘settings’ button.
On the ‘settings’ window ‘general’ tab, in the ‘trust level’ section – click on the ‘Synology Inc and trusted publishers’ radio button.
On the ‘settings’ window ‘package sources’ tab, click on the ‘Add’ button and add the repository:
Click on the ‘Ok’ button once you are done.
Install Nano from the Repository
The final step is to instal Nano. To do this, make sure you are still in the ‘package centre’. Then, click on the ‘community’ section, find Nano and click on the ‘install’ button.
You can now run Nano using SSH in the usual way! Simply type ‘nano’ and the file name you wish to open. Remember that you will need ‘sudo’ in some circumstances depending on what you need to do.