How to Install Atom Text Editor on Ubuntu 20.04

1.

wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -

2.

sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"

3.

sudo apt update

4.

sudo apt install atom