Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
21
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

プロキシ環境下でapm installできない

タイトルの通り、プロキシ環境下で apm install atom-typescript とか出来ずに困った時のまとめ。

apm proxy

apm のプロキシ設定の仕方.

$ apm config set http-proxy http://(proxy-addr):(proxy-port)
$ apm config set https-proxy http://(proxy-addr):(proxy-port)
$ apm config set strict-ssl false

設定ファイルは ~/.atom/.apmrc にできる。
認証ありプロキシの場合は http://(user):(pass)@(proxy-addr):(proxy-port)

まだ、できない

それでもErrorが出る時は↓の環境変数をsetする。

Windows temporary:

set ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist

Windows permanently:

setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M

Mac & Linux ~/.bash_profile:

export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist

References

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
21
Help us understand the problem. What are the problem?