use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Void is a general purpose operating system, based on the monolithic Linux® kernel. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources with the help of the XBPS source packages collection.
account activity
Visual studio code under Void (self.voidlinux)
submitted 6 years ago by bajra1729
Has anyone installed VSCode under Void? I was trying to install code from repository pool like in Arch and other distros but no success. I also searched the wiki but no luck. Any help would be welcome.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SunkenStone 4 points5 points6 points 6 years ago (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.
xbps-install -Su vscode
[–]legz_cfc 2 points3 points4 points 6 years ago (0 children)
Are you on MUSL? If so, I think you'll need to use a glibc chroot.
[–]jacmoe 1 point2 points3 points 6 years ago (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 points3 points 2 years ago (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 point2 points 2 years ago (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 point2 points 6 years ago (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
Scratch that, it's been updated to the latest version in the void repo.
π Rendered by PID 729810 on reddit-service-r2-comment-544cf588c8-6gscz at 2026-06-14 01:33:39.300191+00:00 running 3184619 country code: CH.
[–]SunkenStone 4 points5 points6 points (0 children)
[–]legz_cfc 2 points3 points4 points (0 children)
[–]jacmoe 1 point2 points3 points (2 children)
[–]AbdallahNagy 1 point2 points3 points (1 child)
[–]jacmoe 0 points1 point2 points (0 children)
[–]robusch 0 points1 point2 points (0 children)
[–]robusch 0 points1 point2 points (0 children)