Installing nano on Jetson Nano


I am using my Nano headless, using ssh.
But I not a fan of vi, vim, so i would like to install the nano editor on my jetson nano.


sudo apt install nano

is not working, returning :

install: missing destination file operand after 'nano'

any clue ?

Hi Alex, these commands below work for me to install nano editor:

$ sudo apt-get update
$ sudo apt-get install nano

it worked…

sudo apt update
sudo apt install nano


very strange, as I am 99% sure i did the sudo apt update on my previous trial where i installed an removed plenty of packages.

but i can now use nano, and that’s the most important