mac osx 下 安装atom github官方出品的开发工具

本文介绍了在Mac OS X系统中如何安装GitHub官方的Atom开发工具,并针对国内用户遇到的包管理器apm安装源问题,提供了设置网络代理的解决方案,确保能够顺利下载和安装Atom插件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MAC OSX 下安装

这里写图片描述

官方GITHUB地址

国内镜像下载更快

下载安装好 开始配置包管理器apm

使用apm install --check检测安装源是否正常

Checking for native build tools ✗

gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.2
gyp info using node@0.10.40 | darwin | x64
gyp http GET https://atom.io/download/atom-shell/v0.36.8/node-v0.36.8.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at errnoException (net.js:905:11)
gyp ERR! stack     at TCP.onread (net.js:559:19)
gyp ERR! System Darwin 15.4.0
gyp ERR! command "/Users/holoto/Downloads/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/holoto/Downloads/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.36.8" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure"
gyp ERR! cwd /Users/holoto/.atom
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

atom 插件站 被墙 无法下载安装插件

解决方案 给安装插件的网络 设置网络代理

编辑atom本地用户配置文件

atom ~/.atom/.apm/.apmrc

strict-ssl=false
https-proxy=http://127.0.0.1:8787/
http-proxy =http://127.0.0.1:8787/

添加代理IP地址 我使用的是lantern

安装检测

apm install --check
Checking for native build tools ✓

ok 可以安装插件了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值