How to Install Nano on Your Synology NAS

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 add additional software repositories and install Nano easily.

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 the option called ‘Enable SSH Service’ and click ‘apply’.

Synology NAS, Terminal & SNMP, Enable SSH Service
Synology NAS, Terminal & SNMP, Enable SSH Service

Add a repository

Nano is not provided or maintained by Synology, but you can get it from the SynoCommunity repository. In addition, 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 of course, Nano.

To add the SynoCommunity repository:

Click on the ‘Package Center’ icon and then click on the ‘settings’ button.

In the ‘settings’ window ‘general’ tab, click on the ‘Synology Inc and trusted publishers’ radio button in the’ trust level’ section.

Synology NAS, Package Center, Settings, Trust Level
Synology NAS, Package Center, Settings, Trust Level

On the ‘settings’ window ‘package sources’ tab, click on the ‘Add’ button and add the repository:
Name: SynoCommunity
Location: http://packages.synocommunity.com/

Click on the ‘Ok’ button once you are done.

Synology NAS, Package Center, Settings, Add Repository
Synology NAS, Package Center, Settings, Add Repository

Install Nano from the Repository

The final step is to install Nano. To do this, make sure you are still in the ‘package centre’. Then, click on the ‘community’ section, find ‘SynoCli File Tools’ and click on the ‘install’ button. The SynoCli File Tools package provides the following command-line utilities: less, tree, ncdu, jdupes, rhash, mc, nano, file, detox, rmlint, and rnm v1.1-3. Nano was previously a separate package but is now only available via the SynoCli File Tools package.

Wrapping up

You can now run Nano using SSH in the usual way! 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.

You may also be interested in

About Anto Online

Anto, a seasoned technologist with over two decades of experience, has traversed the tech landscape from Desktop Support Engineer to enterprise application consultant, specializing in AWS serverless technologies. He guides clients in leveraging serverless solutions while passionately exploring cutting-edge cloud concepts beyond his daily work. Anto's dedication to continuous learning, experimentation, and collaboration makes him a true inspiration, igniting others' interest in the transformative power of cloud computing.

View all posts by Anto Online

10 Comments on “How to Install Nano on Your Synology NAS”

  1. Hello, I’m just trying to get nano but I can’t see any package named “Synocli Files’,
    only “SynoCli Network Tools”.
    The repo “http://packages.synocommunity.com/” is correctly added..
    I’ve tried to change the settings to: Trust Level “Any publishers”, “See Beta Versions”, but nothing.
    Syno DS1513+ / DSM 6.0.3
    Any help would be greatly appreciated!

  2. Bruno, I can see SynoCli File Tools (just before the Network tools). Just installed it and it worked.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.