From 1d3a91912a7cdab7910b431ff7cbfd9f34f46800 Mon Sep 17 00:00:00 2001 From: Gary Zhou Date: Mon, 28 Jul 2025 12:08:13 -0400 Subject: [PATCH] cli: add detailed instruction for WSL users (#3496) Signed-off-by: Gary <117497221+GaryZhous@users.noreply.github.com> --- CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d540b9afd..54959eb514 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,6 +15,17 @@ on the App, you will also need to [install node and npm][nvm] - we recommend thr We provide a shortcut to standard commands using [just][just] in our `justfile`. +### Windows Subsystem for Linux + +For WSL users, you might need to install `build-essential` and `libxcb` otherwise you might run into `cc` linking errors (cc stands for C Compiler). +Install them by running these commands: + +``` +sudo apt update # Refreshes package list (no installs yet) +sudo apt install build-essential # build-essential is a package that installs all core tools +sudo apt install libxcb1-dev # libxcb1-dev is the development package for the X C Binding (XCB) library on Linux +``` + ## Getting Started ### Rust