Python

import os
os.environ["http_proxy"] = "http://127.0.0.1:7890"
os.environ["https_proxy"] = "http://127.0.0.1:7890" 

R

Sys.setenv(https_proxy="http://127.0.0.1:7890")
Sys.setenv(http_proxy="http://127.0.0.1:7890") 

Julia

ENV["https_proxy"]="http://127.0.0.1:7890/" 

Git

git config --global http.proxy 'http://127.0.0.1:7890'
git config --global https.proxy 'http://127.0.0.1:7890'

nodejs

npm config set https-proxy http://127.0.0.1:7890 

Change the value from 7890 to the corresponding port number based on your network proxy port number.