Terminal

Micro Text Editor A Modern and Intuitive Terminal Editor for Linux

Micro Text Editor A Modern and Intuitive Terminal Editor for Linux

The micro text editor is the latest cross-platform terminal-based text editor, which is not only used for Linux but on all other platforms like Windows and macOS as well. It comes as a single and without having any dependency text editor. It aims to become an easy to use text editor, as well as a modern terminal. So let's get straight to the installation.

Installation of Micro Text Editor on Ubuntu 20.04

There are multiple ways to install the Micro Text Editor on Linux:

Let's start with the simplest and easiest one.

Install Micro Text Editor using the APT method

First, update the system's cache repository.

$ sudo apt update

Now, install the Micro Text Editor on Ubuntu 20.04 or any other Debian based system by typing the following command.

$ sudo apt install micro

If you are using Fedora or CentOS, use this command instead.

$ sudo dnf install micro

Once it is installed, you can verify it by typing this command.

$ micro --version

You can see that version 2.0.8 of micro Text Editor is installed on my Ubuntu system.

Install Micro Text Editor using the Snap method

For installing Micro text editor on Ubuntu through the snap package repository, simply run this single command and it will download, install, and handle all the dependencies required for it.

$ sudo snap install micro --classic

Once the Micro Text Editor is installed through snap, check the version by typing the command given below.

$ micro --version

Install Micro Text Editor using the Script

Micro Text Editor can be installed by downloading the binary file from its official GitHub repository. You can visit their release page and download the binary file according to your requirement.

https://github.com/zyedidia/micro/releases

But it also provides a script to download and install the micro text editor in the current working directory. To run that script, you must have curl installed on your system. You can check it by running the command.

$ curl --version

If it is not installed, and you got output like this,

then install it using the recommended command.

$ sudo apt install curl

After installing curl, you are ready to run the script.

Run the script by typing the command given below.

$ curl https://getmic.ro | bash

This command will install the Micro Text Editor in the current working or present directory.

If you want to move it to the “/usr/bin” directory, so it will be accessible from anywhere, type the following command in the terminal.

$ sudo mv micro /usr/bin

Now it will be accessible from any directory.

Let's check the version!

$ micro --version

Version 2.0.8 is now installed.

Conclusion

The micro text editor is a very smart and intuitive terminal oriented text editor that is very famous amongst the users when they have to edit the SSH files and other types of tasks in the terminal. It can be installed using APT, snap, and the script provided by the official GitHub repository of Micro Text Editor. In this article, the installation is also explained in a very profound and detailed way.

Linux Oyunlarını Otomatikleştirmek için AutoKey Nasıl Kullanılır?
AutoKey, Linux ve X11 için Python 3, GTK ve Qt'de programlanmış bir masaüstü otomasyon aracıdır. Komut dosyası oluşturma ve MAKRO işlevselliğini kulla...
How to Show FPS Counter in Linux Games
Linux gaming got a major push when Valve announced Linux support for Steam client and their games in 2012. Since then, many AAA and indie games have m...
How to download and Play Sid Meier's Civilization VI on Linux
Introduction to the game Civilization 6 is a modern take on the classic concept introduced in the series of the Age of Empires games. The idea was fai...