Linux Shell text editor


Best Text Editors for Linux Command Line

A text editor is now a must-have program for virtually any operating system. We’ve got no shortage of their very most effective contemporary editors to Linux. But these are GUI-based editors.

However, for a lot of great motives, you still will have to use the command-line. Not only for System Administrators however for the average consumer Too. Therefore, text editors tailored to the terminal is surely something significant.

Here, I will compile a listing of the very ideal command line text editors to Linux.

Classic Command Line Text Editors

These are a few of the most commonly-used and strong command-line text editors to Linux.

1. Vim

If you are on Linux for quite a while, you have to have learned of Vim. Vim is a broadly configurable, cross-platform, along with also an extremely effective text editor.

It might not be acceptable for novices, but it’s something every aspiring Linux System administrator must get familiar with. You will most likely discover that it’s pre-installed on your own Linux distribution. It’s very popular for its broad assortment of innovative capabilities.

Vim could be rather painful for first-time customers. I recall the very first time I attempted to edit a text file using Vimeo was puzzled. I could not type one letter on it, and the funny part is I could not even work out how to shut this item. If you’re likely to use Vim, you must be ascertained for scaling up an extremely steep learning curve.

However, as soon as you’ve gone through that, combed by its official instruction, and training the commands/operations, then you will find it worth all of the time. To not forget, you may use it for basic text editing or leverage its service for tens of thousands of programming applications, extensions, and document formats.

How to install it?

If you do not have it installed, you can try typing at the control (on Debian-based programs ) to put in it:

sudo apt install vim

It is also possible to find it recorded on the center of your application of this Linux distribution you’re using. In any circumstance, proceed to its official download page for additional information.


2. GNU Emacs

GNU Emacs is unquestionably among the earliest and flexible text editors on the market. In the event you did not understand, GNU Project founder Richard Stallman made it.

Emacs is a cross-platform plus contains both command-line along with also a graphical user interface. It’s also quite rich with several attributes and, above all, extensible.

As Vim, Emacs also includes a steep learning curve. But as soon as you learn it, you may fully leverage its electricity. Emacs can manage pretty much any file. The port is customizable to match your workflow. It supports sound recording and shortcuts too.

The exceptional ability of EmacEmacsthat may be changed into something entirely different from a text editor. There’s a sizable assortment of modules that may transform the program for use in very different situations, including calendar, newsreader, word processor. May you play games at EmacEmacsThe way to put in it?

How to install it?

You need to find it on the center of your application, or if you prefer using the terminal onto Ubuntu-based distros, you can sort in:

sudo apt install emacs

You may find more details on this on their download page. As Soon as You’re done downloading, you Will Need to sort in a Particular control to start the emacEmacsthe terminal, which can be:

emacs -nw

Essentially, this command teaches not to incorporate any window to start the app but also the terminal itself.

3. Nano

In regards to simplicity, Nano is your one. Contrary to Vim or Emacs, it’s acceptable for beginners to get used to fast.

A text editor is now a must-have program for virtually any operating system. We’ve got no shortage of their very most effective contemporary editors to Linux. But these are GUI-based editors.

The shortcuts accessible on Nano are exhibited at the base of the interface. It’s minimal and acceptable for editing configuration & system files. For people who don’t require advanced features in the command-line text editor, then Nano is the best choice.

When interested, you can discover to utilize Nano text editor within our newcomer’s guide.

How to install it?

For the large part, Nano editor must arrive pre-installed on Ubuntu-based distributions. When it is not there, then you may stop by the official website to find the binaries for your distribution that you want.


Modern Text Editors For Command Line

Heres will list a few terminal-based text editors who bring something fresh to the table or concentrate on making things simpler.

4. ne – The Nice Editor

In comparison to the popular and classic text editors, ne (the wonderful editor) is a great option that strives to supply innovative functionalities, making it a lot simpler to utilize them.

To put it differently, it is a more straightforward choice to Vim/Emacs, giving you powerful capabilities. It’s actively preserved — although maybe not as ordinary as you would anticipate. But, I attempted it set up Pop OS 20.04, and it functioned just fine. You may explore it within their GitHub page.

If you don’t examine it extensively, you ought to take it with a pinch of salt.

How to install it?

It would be best if you discovered that it’s available from the official repositories of your own Linux distribution. To get Ubuntu-based distros, you can install them with the command:

sudo apt install ne

It is also possible to look at their official site to learn more about other Linux distributions.

ne, the nice editor

  1. Neovim

Neovim is a branch of Vim that intends to add more extensibility while simplifying it. If you are familiar with Vim, it’ll be useful to go with Neovim.

The project has been actively maintained, and also the improvement is promising up to now. Unless you are familiar with how Vim functions, you might not observe the difference between them both.

But overall, Neovim attempts to shoot Vim a notch up.

How to install it?

To get Ubuntu-based distros, then you can install them by simply typing:

sudo apt install neovim

For other Linux distributions or programs, you might consult with the own official setup instructions to begin.

To give you a head start, I must mention that when utilizing the terminal, then You’ll Have to type the next to establish it (rather than neovim):



6. Tilde

Tilde is a terminal-based text editor composed to customers that are normally utilized to GUI software.

Contrary to other options discussed in this record — this might not be an energy instrument. However, for basic text editing operations, this is quite easy to use. You’ve got some complex functionality — but that is not a thing to compare Vim/Emacs.

If you wished to try out something easy-to-use and distinct, this is the one I would advise you to try out.

How to install it?

To get Ubuntu-based distros, then you can type the next command at the terminal:

sudo apt install tilde

For advice about other Linux distributions, you might consult with their GitHub webpage or the downloading page to research it.


Wrapping Up

If you’re an experienced Linux user, you should be conscious of the popular choices discussed in this list.

Though there are a few good-old choices like WordGrinder and JOE — I am frightened they are not actively maintained.

What do you think about the very ideal command line text editors to Linux recorded within this report? Did I miss one of your favorites? Allow me to know your ideas in the comments below!


Please enter your comment!
Please enter your name here