Julia runs in terminal but not in vscode. Pkg manager also does not seem to work

If you know your work computer runs through a proxy, then you could look at this post New Julia install: Downloading artifacts fails behind proxy to see if updating the proxy settings would help.