How to Install Atom Text Editor on CentOS 7

Published on

2 min read

Install Atom on CentOS 7

Atom is an open-source cross-platform code editor developed by GitHub. It has a built-in package manager, embedded Git control, smart autocompletion, syntax highlighting and multiple panes.

Under the hood Atom is a desktop application built on Electron using HTML, JavaScript, CSS, and Node.js .

In this tutorial, we will install Atom Text Editor on CentOS from their official repositories.


The user you are logged in as must have sudo privileges to be able to install packages.

Installing Atom on CentOS

Follow the steps below to install Atom on CentOS 7:

  1. Start by importing the Atom repository’s GPG key:

    sudo rpm --import
  2. Create the following repo file to enable the Atom repository:

    sudo nano /etc/yum.repos.d/atom.repo

    Paste the following content into the file:

    name=Atom Editor

    Save and close the file.

  3. Once the repository is enabled, install the latest version of Atom with:

    sudo yum install atom

    Yum will prompt you to import the repository GPG key. Type y and hit Enter.

Starting Atom

Now that Atom is installed on your CentOS system you can launch it either from the command line by typing code or by clicking on the Atom icon (Applications -> Programming -> Atom).

CentOS Launch Atom

When you start the Atom editor for the first time, a window like the following should appear:

CentOS Atom Text Editor

You can now start installing themes and extensions and configuring Atom according to your preferences.

Upgrading Atom

To upgrade your Atom installation when new releases are published, you can use the yum package manager normal upgrade procedure:

sudo yum update


You have successfully installed Atom on your CentOS 7 machine. To learn more about how to use Atom, from beginner basics to advanced techniques, visit their official documentation page.

If you have any questions, please leave a comment below.