如何将Atom安装(程序包和设置)从一台Mac共享/转移到另一台Mac? [英] How to share/transfer an Atom installation (packages and settings) from one Mac to another?
问题描述
是否可以将Atom从一台Mac复制到另一台Mac,包括所有已安装的软件包,设置等?
Is it possible to copy Atom from one Mac to another, including all installed packages, settings etc?
推荐答案
有几种方法可以在Atom安装之间同步设置和软件包:
There are several ways to synchronize your settings and packages between Atom installations:
-
Git:创建一个公共或私有Git存储库,并将本地
~/.atom
文件夹的内容存储在其中.忽略.gitignore
文件中的以下文件/目录:
Git: Create a public or private Git repo and store the contents of your local
~/.atom
folder in there. Ignore the following files/directories in a.gitignore
file:
storage
compile-cache
dev
.npm
.node-gyp
使用类似 sync-settings 之类的包.这会将您的配置存储在GitHub Gist中.
Use a package like sync-settings. This will store your configuration in a GitHub Gist.
Dropbox(或类似名称):将~/.atom
文件夹移动到Dropbox文件夹,然后从那里将其符号链接到其原始位置.缺点是同步~/.atom
中的所有内容,甚至包括您可能忽略的内容.
Dropbox (or similar): Move your ~/.atom
folder to your Dropbox folder and then symlink it from there to its original location. This has the downside of syncing everything in ~/.atom
, even the things you could ignore.
使用星级选择您喜欢的包裹.在Atom网站上,创建一个帐户并用星号标记您喜欢的软件包.然后使用apm stars --install
在所有计算机上安装所有已加星标的软件包.缺点:这仅适用于软件包,不适用于设置.
Use stars to select your favorite packages. On the Atom web site, create an account and mark your favorite packages with stars. Then use apm stars --install
to install all starred packages on any machine. Downside: This only works for packages, not for settings.
更多详细信息:
这篇关于如何将Atom安装(程序包和设置)从一台Mac共享/转移到另一台Mac?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!