Skip to content

Instantly share code, notes, and snippets.

@mingsai
Last active April 9, 2017 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mingsai/9a083a786f0f4a75e2328881f274817e to your computer and use it in GitHub Desktop.
Save mingsai/9a083a786f0f4a75e2328881f274817e to your computer and use it in GitHub Desktop.
Manage Atom Packages on multiple machines
To manage atom packages on multiple machines
1 - Create a Makefile in the atom folder:
~/.atom/Makefile
2 - Contents of Makefile:
install-all-packages:
cat packages.list | xargs apm install
packages.list: packages/*/
ls packages/ > packages.list
3 - Rules to manage packages
a) When adding or removing a package on the main machine, run make packages.list
b) Save the Makefile and the packages.list files someplace safe, git/gist
c) On other machines download Makefile to the atom folder and run make
install-all-packages:
cat packages.list | xargs apm install
packages.list: packages/*/
ls packages/ > packages.list
README.md
RebelChat
advanced-open-file
aligner
android
android-debugger
api-docs
ariake-dark-syntax
atom-beautify
atom-bootstrap4
atom-clock
atom-html-preview
atom-jade
atom-material-syntax
atom-material-ui
atom-nodejs-snippets
atom-notifier
atom-pair
atom-ternjs
atom-xcode
atomdocr
aurora-theme
auto-detect-indentation
autocomplete-bash-builtins
autocomplete-cmake
autocomplete-haskell
autocomplete-swift
bottom-dock
build-xcodebuild
coconut
compare-files
dash
emmet
file-icons
floobits
git-clone
git-plus
git-time-machine
glist
grunt-runner
grunt-snippets
highlight-line
highlight-selected
imdone-atom
imdone-atom-github
ink
jade
jade-beautify
java-generator
jumpy
language-cmake
language-common-lisp
language-dots
language-latex
language-lisp
language-swift
latex
latex-autocomplete
latex-completions
latex-friend
linter
linter-bootlint
linter-swift-package-manager
linter-swiftc
linter-swiftlint
linter-write-good
markdown-document
markdown-preview-plus
merge-conflicts
minimap
minimap-highlight-selected
minimap-pigments
motepair
motepair2
node-debugger
node-on-fire
nord-atom-ui
omnisharp-atom
open-in
pdf-view
pigments
platformio-ide-terminal
preview
preview-inline
qolor
quicknote
script
spacegray-atom-dark-syntax
spacegray-dark-ui
supercopair
swift-autocomplete-snippets
swift-debugger
swiftkit
symbols-list
terminal-plus
theme-switch
todo-manager
tree-view-search-bar
turbo-javascript
wakatime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment