Skip to content

CLI proxy support #29910

Open
Open

Description

@JCarlos12
  • VSCode Version: Code 1.13.1 (379d2ef, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions: none

Steps to Reproduce:
Without http.proxy set

  1. run "code --install-extension HookyQR.beautify" in CLI
  2. Error: getaddrinfo ENOTFOUND marketplace.visualstudio.com marketplace.visualstudio.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

With

  1. run "code --install-extension HookyQR.beautify" in CLI
  2. result says "Found 'HookyQR.beautify' in the marketplace.
    Installing..."

But it does not install.
Please I need help . Thanks in advance
extension
extension2

Activity

  1. added
    extensions
    on Jun 30, 2017
  2. joaomoreno commented on Jul 3, 2017

    @joaomoreno
    Contributor

    Unfortunately, the CLI doesn't support proxies yet.

  3. added
    bug
    proxy
    and removed
    extensions
    on Jul 3, 2017
  4. changed the title [-]CLI install extension ends without installing[/-] [+]CLI proxy support[/+] on Jul 3, 2017
  5. JCarlos12 commented on Jul 5, 2017

    @JCarlos12
    Author

    João Moreno (@joaomoreno)
    Thanks for that :)
    I only tried using the CLI since I cant install through the extensions tab.

    Any solution for this?
    When I use the extensions tab it gets stuck in Installing
    aaa

  6. JCarlos12 commented on Sep 7, 2017

    @JCarlos12
    Author

    I see this error in my dev tools when I try to install an extension
    image

  7. JCarlos12 commented on Sep 7, 2017

    @JCarlos12
    Author

    Nevermind
    Found the error why its not installing

    It turns out I had a path to my mongodb in the "TEMP" environemnt variable
    I removed it and it now works

  8. locked and limited conversation to collaborators on Nov 17, 2017
  9. unlocked this conversation on Jun 17, 2021
  10. added
    feature-request
    and removed
    bug
    on Jun 17, 2021
  11. raoulvm commented on Jan 16, 2023

    @raoulvm

    Every other years there should be somebody asking for the status of this.
    So I'll do it this year, 2023, because some of my fellow colleagues are behind a firewall/proxy and want to have automatic installs, anyway.

  12. tp1050 commented on Aug 5, 2023

    @tp1050

    Where can I REad about why this does not exist automatically?

  13. Steven23661 commented on Mar 4, 2024

    @Steven23661

    I'm using Gboard to type in English (US) (QWERTY). You can try it at: https://gboard.app.goo.gl/KDRTPI'm using Gboard to type in English (US) (QWERTY). You can try it at: https://gboard.app.goo.gl/KDRTP

  14. added a commit that references this issue on Feb 27, 2025
  15. hjrb commented on Mar 31, 2025

    @hjrb

    Why doesn't that get fixed? Enterprise customers - those guys that pay you bills - depend on it.

  16. lamy commented on Jul 15, 2025

    @lamy

  17. arjayalsonado commented on Nov 19, 2025

    @arjayalsonado

    just bumping this issue, and hopefully gets some more attention

  18. macgeneral commented on Feb 26, 2026

    @macgeneral

    Sorry for cross-posting, but maybe it's of relevance for people following this issue as well:

    I originally created a workaround for this issue about two years ago for my own use (initially as a Python project). I’ve now cleaned it up, made it cross‑platform compatible, and compiled it into a single binary using Nuitka.

    The project is available here:
    👉 https://github.com/macgeneral/uVSCEM

    Main features

    • Cross‑platform support (Linux, Windows, macOS)
    • Distributed as a single standalone binary (also available via PyPI)
    • Downloads and installs VS Code extensions, extension packs, and marketplace signatures
    • Reads extension IDs from your devcontainer.json (or any JSON file containing a devcontainer extension block)
    • Verifies extension signatures using vsce-sign
    • Supports offline bundles (export/import) for air‑gapped machines

    It was originally built to solve my own workflow needs related to this issue (see #12588 and #29910), but I decided to publish it in case it’s useful to others.

    ⚠️ Disclaimer:
    The Windows and macOS binaries (as well as the Python scripts on those platforms) have not been extensively tested there, although they should work. Feedback and testing on those platforms would be very welcome.
    Hope this helps anyone still affected by this issue.

  19. salimmolla7401-svg commented on May 5, 2026

    @salimmolla7401-svg
  20. ashik91companys commented on Aug 20, 2026

    @ashik91companys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestproxy

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions