How to use wget with proxy when installing software via scripts

I came across this post that helped me install Signal.

However, I am now trying to install Joplin whose installation instructions require using wget

 wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash

How would I pass the proxy informationin such a case?

1 Like

This post by @marmarek to completely bypass template Internet protection and tell template to globally use the proxy when you know what you’re doing.

1 Like

Thanks both @apparatus and @Insurgo

I ended up going with setting the proxy first before running any install commands i.e.

$ export https_proxy=http://127.0.0.1:8082
$ export http_proxy=http://127.0.0.1:8082

and then proceeding with the install instructions.