Member-only story
Installing VSCode Server for on go Coding within Linux
Mobile | Travel | AWS
Ever needed to code but you could not because the program out there is just not VS Code. Well,β you're in luck! I recently had to work on a project where I needed tools on Linux but the VS Code was set up on a Windows Machine. This became very old quickly. So what do you need to get started?
- One EC2 Instance with Ubuntu
Yeap that's it! Login to the EC2 via SSH and now let's get to work.
- Make the directory
mkdir -p ~/.local/lib ~/.local/bin
2. Download the latest release from Github.
curl -fL https://github.com/cdr/code-server/releases/download/v3.6.1/code-server-3.6.1-linux-amd64.tar.gz | tar -C ~/.local/lib -xz
3. Move the binary to the ~/.local/lib
mv ~/.local/lib/code-server-3.6.1-linux-amd64 ~/.local/lib/code-server-3.6.1
4. Setup a Symbolic Link for the Code Server
ln -s ~/.local/lib/code-server-3.6.1/bin/code-server ~/.local/bin/code-server
5. Setup paths
PATH="~/.local/bin:$PATH"
6. So technically we want our code-server to run as a service. That way when we log out of ourβ¦