Installing nano on Jetson Nano

Hi,

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.

But

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

Hi,
it worked…

sudo apt update
sudo apt install nano

worked

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