Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install vs-code-server manually and tell vs-code-remote?

When I try use remote-ssh connect to my server to install install vs-code-server, it hangs with these message: Install and start server if needed

bash: no job control in this shell Installing... Downloading with wget

It seems my server cannot use wget to download vs-code-server. Can I install vs-code-server manually?

like image 597
Jacki Avatar asked May 10 '19 08:05

Jacki


1 Answers

Download your current used version via

wget https://update.code.visualstudio.com/commit:c3f126316369cd610563c75b1b1725e0679adfb3/server-linux-x64/stable

You can check the commit id in vscode Help -> About

Copy it to your machine through ssh.

Unpack to ~/.vscode-server/bin/c3f126316369cd610563c75b1b1725e0679adfb3

And you're done

like image 162
FelixWee Avatar answered Oct 05 '22 01:10

FelixWee