How to save Atom editor config and list of packages installed

前端 未结 6 2139
轮回少年
轮回少年 2021-01-30 00:18

I have recently started using Atom editor. Its pretty great so far. I am planning to install it on several other machines.

How can I replicate the config and list of pac

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 00:31

    You can use the apm command to save/restore installed packages.

    To export packages (only packages name):

    apm list --installed --bare > ~/Gdrive/backup.txt
    

    To import packages:

    apm install --packages-file ~/Gdrive/backup.txt
    

    On Linux apm is available if you install Atom from .deb file.

    On OSX: open atom -> install shell command

    Windows: apm in C:\Users\YOUR_NAME\AppData\Local\atom\bin

提交回复
热议问题