# Support for vaults in Windows Subsystem for Linux (WSL)

**URL:** <https://forum.obsidian.md/t/support-for-vaults-in-windows-subsystem-for-linux-wsl/8580>\
**Category:** Feature requests\
**Created:** [November 15, 2020, 4:37am UTC](https://forum.obsidian.md/t/support-for-vaults-in-windows-subsystem-for-linux-wsl/8580 "2020-11-15T04:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 50

<div class="post-metadata">

**Author:** ![Rishav](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rishav/32/44340_2.png) [@Rishav](https://forum.obsidian.md/u/Rishav)\
**Post date:** [September 20, 2023, 11:30pm UTC](https://forum.obsidian.md/t/support-for-vaults-in-windows-subsystem-for-linux-wsl/8580/50 "2023-09-20T23:30:30Z")

</div>

Just confirmed that Obsidian now works within WSL2 directories (thanks to [Maztuto from Discord](https://discord.com/channels/686053708261228577/694233507500916796/1154197889506082826)) since WSL2 has enabled native support for [Linux GUI apps](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps) (X11 and Wayland)!

## How To Get It To Work

### Requirements

Install Obsidian inside WSL2.

I’ve gone ahead and installed the latest obsidian.deb package in the latest Ubuntu 22.04.3 LTS on WSL2, like so:

```bash
# Remember to update the URL for the latest version on https://obsidian.md/download.
wget https://github.com/obsidianmd/obsidian-releases/releases/download/v1.4.13/obsidian_1.4.13_amd64.deb
sudo apt-get install -y ./obsidian_1.4.13_amd64.deb

```

### Confirm Installation

This automatically adds Obsidian (Ubuntu) to the Start Menu, in the following directory:

`C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Ubuntu`

A restart of WSL2 may be required for the entry to update, via `wsl --shutdown`.

### Additional Dependencies

In my case, Obsidian wouldn’t load until I installed a couple of dependencies, like so:

```bash
sudo apt-get update
sudo apt-get install -y libgbm1 libasound2

```

### Run Obsidian

And that’s it!

Either select Obsidian from the Start Menu or type `obsidian` or `/opt/Obsidian/obsidian` to launch the all-familiar Obsidian GUI from within WSL2, and _it just works_.

---

_[View the full topic](https://forum.obsidian.md/t/support-for-vaults-in-windows-subsystem-for-linux-wsl/8580)._
