zoukankan      html  css  js  c++  java
  • atom编辑器使用“apm install”无法响应的解决方案

    工具:shadowsocks

    利用ss建立代理服务,之后apm --help,得到apm的配置命令:

    apm - Atom Package Manager powered by https://atom.io
    
    Usage: apm <command>
    
    where <command> is one of:
        clean, config, dedupe, deinstall, delete, dev, develop, disable, docs,
        enable, erase, featured, home, i, init, install, link, linked, links, list,
        ln, lns, login, ls, open, outdated, publish, rebuild, rebuild-module-cache,
        remove, rm, search, show, star, starred, stars, test, uninstall, unlink,
        unpublish, unstar, update, upgrade, view.
    
    Run `apm help <command>` to see the more details about a specific command.
    
    Options:
      --color        Enable colored output                                     [boolean] [default: true]
      -v, --version  Print the apm version
      -h, --help     Print this usage message
    
      Prefix an option with `no-` to set it to false such as --no-color to disable
      colored output.
    

    apm config --help得到:

    Usage: apm config set <key> <value>
           apm config get <key>
           apm config delete <key>
           apm config list
           apm config edit
    
    Options:
      -h, --help  Print this usage message
    
      Prefix an option with `no-` to set it to false such as --no-color to disable
      colored output.
    

    最后设置:

    apm config set http-proxy http://127.0.0.1:1080
    apm config set https-proxy http://127.0.0.1:1080
    

    设置好代理之后,就可以任意安装atom的package了。

  • 相关阅读:
    RQNOJ 34 紧急援救
    Codevs 2080 特殊的质数肋骨
    POJ2975 Nim
    Bzoj1016 最小生成树计数
    POJ3613 Cow Relays
    POJ1386 Play on Words
    [从hzwer神犇那翻到的模拟赛题] 合唱队形
    HDU2824 The Euler function
    HDU1576 A/B
    HDU2669 Romantic
  • 原文地址:https://www.cnblogs.com/biyesheng/p/6493237.html
Copyright © 2011-2022 走看看