如何将 Atom 安装(包和设置)从一台 Mac 共享/传输到另一台? [英] How to share/transfer an Atom installation (packages and settings) from one Mac to another?

查看:27
本文介绍了如何将 Atom 安装(包和设置)从一台 Mac 共享/传输到另一台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 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.

    使用 stars 来选择您最喜欢的包裹.在 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 共享/传输到另一台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆