Skip to content

How can i force fnm to use socks proxy #1349

@shivarajnaidu

Description

@shivarajnaidu

for example,
I setup socks proxy using this command ssh -i ~/priv.pem -D 8080 -q -f -C -N ubuntu@10.0.13.23

 export http_proxy=socks5h://127.0.0.1:8080
 export https_proxy=socks5h://127.0.0.1:8080

and setup above exports

how can I use this socks proxy to download node using fnm install 22 ?

When i tried this i got error: can't get remote versions file: error sending request for url (https://nodejs.org/dist/index.json)

I could not find any help or document that will allow me to sue socks proxy with fnm.

Please help me to understand how we can achieve this..

Note: when i tried curl -I https://nodejs.org this command is working as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions