brew install atom

Shell
$ brew cask install atom

Source

Also in Shell: