Nice idea, but for me this 5 line mac-specific shell script had two errors. Did anyone actually try this?
Here's a version that worked for me
#!/bin/sh
cd ~
curl -L --insecure https://www.atom.io/api/updates/download -A "Atom/0.1 CFNetwork/1.5" > Atom.zip
unzip Atom.zip
mv Atom.app /Applications/
rm -rf Atom.zip