Vim is a short form of Vi IMproved. It is an open-source and free tool with a command-line interface and a Graphical User Interface. This article will show you how to install vim editor on Debian version 10 using the terminal.

To get started, you need to open up a terminal with root privileges and update your repositories. Run the following command.

apt-get update

When the command runs, this will take several minutes to complete.

Next, run the following command to install the vim editor.

apt-get install vim

When you are asked for a confirmation, press Enter from the keyboard and wait for the operation to complete. This may take several minutes depending on your internet connection.

Install Vim Editor

When the operation completes, you can start the vim editor. Run the following command to open the editor.


This will open up an editor where you can start writing, copying, and saving the file.

Using Vim Editor

If you want to learn how to use this editor, please explore my other related article here on like How to password protect a file in Vim.

How to install vim editor on Debian 10

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn