run atom from terminal ubuntu code example

Example: install atom ubuntu

wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
sudo apt-get update

 Install Atom
sudo apt-get install atom
# Install Atom Beta
sudo apt-get install atom-beta
Alternatively, you can download the Atom .deb package and install it directly:

# Install Atom
sudo dpkg -i atom-amd64.deb
# Install Atom's dependencies if they are missing
sudo apt-get -f install