Skip to content

Instantly share code, notes, and snippets.

@Shawn-Armstrong
Last active February 22, 2023 21:31
Show Gist options
  • Save Shawn-Armstrong/0404a50da553a1286d3dfa2f180c07d1 to your computer and use it in GitHub Desktop.
Save Shawn-Armstrong/0404a50da553a1286d3dfa2f180c07d1 to your computer and use it in GitHub Desktop.

#Install_VcXsrv_with_choco.md

Overview

  • This file provides instructions on installing VcXsrv using Chocolatey.
  • The official installation guidance for Chocolatey can be found here as a reference.

Requirements

  • Adminsterator priviledges

Setup

  1. Install Chocolatey by opening a PowerShell instance with administrator privileges then execute the following command:

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

    install_choco

  2. Install VcXsrv using the same PowerShell terminal with the following command:

    choco install vcxsrv
  3. Verify it was installed by searching for XLaunch; it may be only accessible in ../ProgramFiles/

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment