- macOS 10.8 or later
- Node.js 6.x or later (we recommend installing it via nvm)
- npm 3.10.x or later (run
npm install -g npm
) - Command Line Tools for Xcode (run
xcode-select --install
to install)
git clone https://github.com/atom/atom.git
cd atom
script/build
To also install the newly built application, use script/build --install
.
--code-sign
: signs the application with the GitHub certificate specified in$ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL
.--compress-artifacts
: zips the generated application asout/atom-mac.zip
.--install[=dir]
: installs the application at${dir}/Atom.app
for dev and stable versions or at${dir}/Atom-Beta.app
for beta versions;${dir}
defaults to/Applications
.
- Use this search to get a list of reports about build errors on macOS.