Install Atom with apt
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
With wget download/import the repository GPG key and add the Apt repository
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"
sudo apt install atom
Install Atom with snap
sudo snap install atom –classic
Once downloaded, you can click on and search for Atom to open.
Now you can start editing your code with Atom!