{"id":19560885,"url":"https://github.com/000daniel/how-to-install-visual-studio-code-on-arch-linux","last_synced_at":"2026-05-05T13:35:05.995Z","repository":{"id":250662034,"uuid":"445072402","full_name":"000Daniel/How-to-install-Visual-Studio-Code-on-Arch-linux","owner":"000Daniel","description":"A simple guide on how to install Visual Studio Code on Arch-Linux or Arch-based systems, and set it up to work with C# and Code-Runner","archived":false,"fork":false,"pushed_at":"2022-01-08T12:31:12.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T22:45:54.706Z","etag":null,"topics":["arch-linux","archlinux","code","code-runner","csharp","easy","guide","linux","simple","studio","tutorial","visual","visual-studio","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/000Daniel.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-06T06:56:57.000Z","updated_at":"2024-12-18T22:40:45.000Z","dependencies_parsed_at":"2024-07-29T08:19:05.326Z","dependency_job_id":null,"html_url":"https://github.com/000Daniel/How-to-install-Visual-Studio-Code-on-Arch-linux","commit_stats":null,"previous_names":["000daniel/how-to-install-visual-studio-code-on-arch-linux"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/000Daniel%2FHow-to-install-Visual-Studio-Code-on-Arch-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/000Daniel%2FHow-to-install-Visual-Studio-Code-on-Arch-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/000Daniel%2FHow-to-install-Visual-Studio-Code-on-Arch-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/000Daniel%2FHow-to-install-Visual-Studio-Code-on-Arch-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/000Daniel","download_url":"https://codeload.github.com/000Daniel/How-to-install-Visual-Studio-Code-on-Arch-linux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240822612,"owners_count":19863302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch-linux","archlinux","code","code-runner","csharp","easy","guide","linux","simple","studio","tutorial","visual","visual-studio","visual-studio-code"],"created_at":"2024-11-11T05:09:03.425Z","updated_at":"2026-05-05T13:35:00.945Z","avatar_url":"https://github.com/000Daniel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How to install Visual Studio Code on Arch-linux\n![vscode_logo](https://user-images.githubusercontent.com/90350173/148343289-5de1dfc9-5160-4484-b301-72a8634aff20.png)\n### Note before installing\n    This guide uses: sudo, git, pacman, and the Arch/AUR repositories.\u003cbr /\u003e\n    The mentioned later script was tested only on EndeavourOS(Arch-based)\u003cbr /\u003e\n    I do not take any responsibility for any kind of damage this guide or script might cause,\u003cbr /\u003e\n    use them at your own risk.\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n### Auto-Install\n download the `auto-Installer-Visual-Studio-Code.sh` file. \u003cbr /\u003e\n    🞄 Note: if you have multiple users on your system edit the script and \u003cbr /\u003e\n    🞄      in `userName=*` replace the `*` with your preferred user's name. \u003cbr /\u003e\n    now enter the next commands into the terminal: \u003cbr /\u003e\n    `sudo chmod +x auto-Installer-Visual-Studio-Code.sh` \u003cbr /\u003e\n    `sudo pacman -Syu`\u003cbr /\u003e\n    `./auto-Installer-Visual-Studio-Code.sh`\u003cbr /\u003e\n    🞄 the script will ask you multiple times to confirm the installations.\u003cbr /\u003e\n    🞄 after the script finishes follow the `Manual-Install (set-up C# and Code-Runner)`\n\u003cbr /\u003e\n### Manual-Install\n    enter the next command into the terminal: `sudo pacman -Syu`\u003cbr /\u003e\n    now enter the next commands: \u003cbr /\u003e\n    `sudo pacman -S dotnet-sdk git gcc-libs glibc gnupg gtk3 libnotify libsecret libxss lsof nss shared-mime-info xdg-utils glib2` \u003cbr /\u003e\n    to verify that the installation of the framework worked, type: \u003cbr /\u003e\n    `dotnet --version` \u003cbr /\u003e\n    now we'll install the software itself: \u003cbr /\u003e\n    `cd Downloads/` \u003cbr /\u003e\n    `git clone https://AUR.archlinux.org/visual-studio-code-bin.git` \u003cbr /\u003e\n    `cd visual-studio-code-bin/` \u003cbr /\u003e\n    `makepkg` \u003cbr /\u003e\n    `sudo pacman -U visual-studio-code-bin-*` \u003cbr /\u003e\n    `cd ..` \u003cbr /\u003e\n    `rm -rf visual-studio-code-bin/` \u003cbr /\u003e\n    🞄 now you can start Visual Studio Code. \u003cbr /\u003e\n\u003cbr /\u003e\n### Manual-Install (set-up C# and Code-Runner)\n    If you need to setup C#(CSharp) and Code-Runner on VSCode here's how: \u003cbr /\u003e\n    in VSCode go to Extensions \u003cbr /\u003e\n\u003cbr /\u003e\n![image](https://user-images.githubusercontent.com/90350173/148344532-c8237ec5-e1e6-4bbc-a2da-fa5695468612.png) \u003cbr /\u003e\n\u003cbr /\u003e\n    and install the `C#` and `code runner` extensions \u003cbr /\u003e\n    now go to `File` ➔ `Preferences` ➔ `Settings` \u003cbr /\u003e\n    search `run in terminal` and enable `Code-runner: Run In Terminal` \u003cbr /\u003e\n\u003cbr /\u003e\n![image](https://user-images.githubusercontent.com/90350173/148344770-9a31a637-9d65-44b9-b8ec-bea6071e3a9d.png) \u003cbr /\u003e\n\u003cbr /\u003e\n    🞄 if you followed the Auto-Install section you can skip this step with Code-Runner. \u003cbr /\u003e\n    click on the `open settings` icon top right \u003cbr /\u003e\n\u003cbr /\u003e\n![image](https://user-images.githubusercontent.com/90350173/148345018-a1d2a98b-4e62-4978-85b4-8727254b8b75.png) \u003cbr /\u003e\n\u003cbr /\u003e\n    write `code-runner.executorMap` and press enter. \u003cbr /\u003e\n    the script should automatically update and look like this: \u003cbr /\u003e\n\u003cbr /\u003e\n![image](https://user-images.githubusercontent.com/90350173/148345184-d9b540f8-4860-4efd-aeef-6774195e42e9.png) \u003cbr /\u003e\n\u003cbr /\u003e\n    scroll down to `csharp` and instead of `scripts` write: \u003cbr /\u003e\n    `cd $dir \u0026\u0026 sudo dotnet run $fileName` \u003cbr /\u003e\n\u003cbr /\u003e\n![image](https://user-images.githubusercontent.com/90350173/148345367-2cebc037-c32f-41d2-8d3d-fca62c29e104.png) \u003cbr /\u003e\n    save the file. \u003cbr /\u003e\n\u003cbr /\u003e\n## Set-up a C# project\n    open in `File` ➔ `Open Folder...` your chosen work directory \u003cbr /\u003e\n    then go to `Terminal` ➔ `New Terminal` \u003cbr /\u003e\n    🞄 to create a C# console application run the next command: \u003cbr /\u003e\n    `dotnet new console` \u003cbr /\u003e\n    🞄 then to be able to save your project, run: \u003cbr /\u003e\n    `sudo chmod +x Program.cs` \u003cbr /\u003e\n\u003cbr /\u003e\n    🞄 hopefully this guide covered everything that you needed, and I hope that everything worked! \u003cbr /\u003e\n    🞄 now you should be able to run your C# projects with the 'Code-Runner' extension and save properly! \u003cbr /\u003e\n    🞄 happy coding!\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n```diff\n- created by https://github.com/000Daniel\n```\nPublish/Release dates: 06.01.2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F000daniel%2Fhow-to-install-visual-studio-code-on-arch-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F000daniel%2Fhow-to-install-visual-studio-code-on-arch-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F000daniel%2Fhow-to-install-visual-studio-code-on-arch-linux/lists"}