← coderrocketfuel.com

Determine if the Nano Editor is Installed on Ubuntu

How can you tell if nano is installed on your Ubuntu machine?

Nano should automatically be installed on most Linux-based operating systems (this is true for macOS as well). And no further configuration is required.

But you can verify that with the following command:

nano --version

If nano is installed on your machine, it should output the current version of nano installed on your machine:

GNU nano, version 4.8
(C) 1999-2011, 2013-2020 Free Software Foundation, Inc.
(C) 2014-2020 the contributors to nano
Email: nano@nano-editor.org    Web: https://nano-editor.org/
Compiled options: --disable-libmagic --enable-utf8

Thanks for reading and happy coding!