Prerequisites

ACCEPT_KEYWORDS="~amd64" emerge -av >=net-libs/nodejs-0.10.30
[ebuild     U  ] net-libs/nodejs-0.10.30 [0.10.7] USE="npm%* snapshot%*" 13,211 kB

eselect python set python2.7

Installation from Git

cd ~
mkdir git; cd git/
git clone https://github.com/atom/atom.git
cd atom/
./script/clean
./script/build

Once the build process is complete the results is stored in your TMP directory.

User Installation

The Atom installer doesn't know how to do a User directory install so we have to hack it this way. First, modify the install script to put the application in your user directory. Then symlink the .desktop file into the proper location.

mkdir ./opt/atom
uldp=$(readlink -f ./opt/atom)
sed -i 's/const userLocalDirPath.*/const userLocalDirPath = "$uldp"/' ./script/lib/install-application.js
./script/grunt install
cd ~/.local/share/applications
ln -s ~/opt/atom/share/applications/atom.desktop

Root Installation

To install as root, install somewhere nice, symlink.

rsync -av /tmp/.private/user/atom-build/Atom/ /opt/Atom/
cd /usr/bin && ln -s /opt/Atom/atom

Atom Plugins