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了。

  • 相关阅读:
    python_day3
    python-day2
    python-day1
    【收集】安卓手机在市场占比的网址查找
    while循环
    switch多选择结构
    if选择结构
    顺序结构
    Scanner:求和 、求平均值
    Scanner:用户交互
  • 原文地址:https://www.cnblogs.com/biyesheng/p/6493237.html
Copyright © 2011-2022 走看看