apm list --installed --bare > ~/Desktop/package-list.txt
apm install --packages-file ~/Desktop/package-list.txt