How do I install the nano terminal editor on Ubuntu?

coderguy asked this question 8 months ago
coderguy on Dec 2, 2021

For one reason or another nano was removed from my Ubuntu 20.04 machine.

So, how can I install it back on my machine?

1 suggested answers
nick on Dec 2, 2021

First, update the package lists on your machine:

sudo apt update

When that's complete, install nano with this command:

sudo apt install nano

You can verify it's installed by running:

nano --version

If a version of nano is outputted, you're good to go!

0 replies