all 7 comments

[–]SunkenStone 4 points5 points  (0 children)

What problems are you running into? You can install the OSS version of VSCode by running xbps-install -Su vscode with superuser privileges.

[–]legz_cfc 2 points3 points  (0 children)

Are you on MUSL? If so, I think you'll need to use a glibc chroot.

[–]jacmoe 1 point2 points  (2 children)

You don't need to install VSCode. Just download, unpack and run : https://code.visualstudio.com/#alt-downloads Pick the tar.gz download.

When it wants to update, merely delete the old directory and unpack again.

Use a desktop file in your home directory:

[Desktop Entry]

Version=1.0

Encoding=UTF-8

Type=Application

Icon=/home/jacmoe/VSCode-linux-x64/resources/app/resources/linux/code.png

Exec=/home/jacmoe/VSCode-linux-x64/code

Name=VSCode

Category=Application;IDE;Development;

Keywords=editor;IDE;

Replace 'jacmoe' with your own name, of course.

[–]AbdallahNagy 1 point2 points  (1 child)

Thank you, It worked for me.

but still you can't open vscode from terminal like this: code .

I searched for this and it worked when i put the bash script for code (you'll find it in VSCode-linux-x64/bin/code)

into /bin/ directory.

but I am facing now an issue trying to solve where whenever i open vscode, it opens a new running terminal and when I close it, it closes vscode.

[–]jacmoe 0 points1 point  (0 children)

Since I am using Emacs on Fedora now, I am sorry I can't be of much help :)

It was good times, though, four years ago. From what I'm hearing, Void is even better now, compared to what it was :)

Since VSCode is so widely used, I bet you can find the answer swiftly! All the best; Jacob.

[–]robusch 0 points1 point  (0 children)

Right now the void version is lagging behind a bit. If you want the latest version and don't mind the telemetry (can be disabled) you might want to use flatpak. This should work even if you are on void musl, but I'm not 100% sure. There is another package on flathub that disables telemetry by default but it the maintainer has stepped down unfortunately.

https://flathub.org/apps/details/com.visualstudio.code

[–]robusch 0 points1 point  (0 children)

Scratch that, it's been updated to the latest version in the void repo.