warp icon indicating copy to clipboard operation
warp copied to clipboard

Support Warp AI features (i.e. Codebase context and tools) for WSL

Open dannyneira opened this issue 1 year ago • 23 comments

Describe the bug

Warp for Windows WSL sessions can't currently load codebase context. This is a known issue by the Warp team and is on the roadmap to fix.

To reproduce

  1. Install Warp for Windows
  2. Install Ubuntu WSL
  3. Open a new tab for the WSL instance in Warp.
  4. Install git on Ubuntu WSL: sudo apt install git
  5. Download a repository: e.g. cd ~ && git clone https://github.com/warpdotdev/themes.git
  6. Enter the repository folder: cd ~/themes, notice how Warp don't index the codebase in Settings > Code menu.

Operating system (OS)

Windows

Shell Version

WSL (bash/zsh)

Additional context

Current workaround is to install Warp directly in the WSL instance and run it from WSL, but this is less ideal experience and may not work with some instances missing the necessary dependencies.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, logs, and subscribe if you'd like to be notified. Log gathering instructions

dannyneira avatar Jul 02 '25 20:07 dannyneira

is this also related to mismatched filesystem listing? (also, WSL (bash/zsh))

in powershell warp, then wsl and cd into my project:

$ ls
docs  src

in windows terminal or vscode terminal wsl in same project:

$ ls
CLAUDE.md  README.md  docs  plans src  zig   

Ignore if unrelated

phiat avatar Jul 04 '25 01:07 phiat

I don't have the same issue in WSL with ls. But I do have the issue were codebase indexing is not working. So I don't know if the issues are related.

I think it is @ file linking though is related as it is not working either. Which is weird because it does know I am in a git repository.

The odd thing is I browsed to the WSL file location from PowerShell (not WSL) and it still does not index the codebase.

jeffwllms avatar Jul 12 '25 17:07 jeffwllms

Following. I am intrested in this. I use Ubuntu under WSL2 for coding and I just noticed this issue.

This is a must for being able to develop via WSL properly.

cristianuibar avatar Aug 01 '25 14:08 cristianuibar

It's been over a month since I submitted this ticket, and it blocks anyone using WSL from using Warp AI. I would imagine this is a large proportion of your Windows users, and you are missing out on a large chunk of revenue.

Is there any way to increase the priority of this issue?

Dunnings avatar Aug 06 '25 19:08 Dunnings

I'll let the team know this is a blocker. For now you can workaround this by working with PowerShell sessions as codebase context is indexed there (many bash commands work in powershell as aliases), or possibly manually indexing the codebases in the WSL distro.

dannyneira avatar Aug 06 '25 22:08 dannyneira

manually indexing the codebases in the WSL distro

How?

Agnostion avatar Aug 07 '25 12:08 Agnostion

I tried manual indexing, but it doesn't work as expected. It will index it indeed if you give it a $wsl path, but it will lose it if you close it, and even so, it will not recognize it well.

I can work on some project via PowerShell, but it can't function properly because it will try to execute bash commands in PowerShell and so on. We also don't have all the necessary software in Powershell, such as git, php, composer, npm etc. we have all that installed under WSL for good reason.

Development in Windows is not meant to work in PowerShell.

cristianuibar avatar Aug 07 '25 16:08 cristianuibar

any updates, all my projects under WSL

unrealbato avatar Aug 13 '25 14:08 unrealbato

I'll let the team know this is a blocker. For now you can workaround this by working with PowerShell sessions as codebase context is indexed there (many bash commands work in powershell as aliases), or possibly manually indexing the codebases in the WSL distro.

Is not working also, can you explain how i can do that?

Image

LidorAbo avatar Aug 17 '25 13:08 LidorAbo

Any updates on this? We need it to work in WSL so badly.

cristianuibar avatar Aug 31 '25 04:08 cristianuibar

I've found a workaround using WSLg but it's far from perfect. You can simply install it on your wsl

wget https://releases.warp.dev/stable/v0.2025.09.01.20.54.stable_03/warp-terminal_0.2025.09.01.20.54.stable.03_amd64.deb
sudo dpkg -i warp-terminal_0.2025.09.01.20.54.stable.03_amd64.deb (Please check version on warp.dev/download)
sudo apt install libxkbcommon-x11-0
# I had to fix broken install for some reason
sudo apt --fix-broken install
sudo apt install libasound2t64

Note that it's not very good feel horribly slow and it scale very badly.

kkuette avatar Sep 03 '25 14:09 kkuette

2 months later, any update @dannyneira? If not, then I will probably give up checking

Dunnings avatar Sep 04 '25 12:09 Dunnings

No updates to report, please continue to 👍 the issue to help it gain traction

dannyneira avatar Sep 04 '25 13:09 dannyneira

This is so bad. Warp CLI is wasting a lot of context window on searching for files on every session start due to the lack of file index context.

Many times it just cannot understand wsl file system at all and cannot find my repo files.

ivawzh avatar Sep 08 '25 09:09 ivawzh

Team is working on it. Confirmed via X. No ETA yet. Hopefully soon. Please continue to +1 this! https://x.com/hongyichen_/status/1965425587708997678

cristianuibar avatar Sep 09 '25 16:09 cristianuibar

Here with same problem, any update?, greetings.

lightum7 avatar Sep 12 '25 01:09 lightum7

the file tree / drawer doesn't work for me neither in WSL for the same reason it seems

Warp includes a native file tree that makes it easy to explore and manage project files. The file tree is available whenever you’re working in a Git-tracked repository, and it automatically reflects your project structure as files are added, removed, or changed.

thomastraum avatar Sep 12 '25 07:09 thomastraum

Context indexing not working on WSL, file tree / drawer not working also on WSL even in a git repo, The new coding features not working at all if you are uses WSL.

unrealbato avatar Sep 28 '25 11:09 unrealbato

Should highlight this on your website. I would not have signed up for a pro account that I cannot use had I known that warp is incompatible with wsl2. Useless for me in this state.

thor4 avatar Oct 04 '25 11:10 thor4

Hey folks, quick update this this is on the roadmap and being worked on. Not firm ETA, but its something we're prioritizing (along with agent tools, etc. in WSL).

dannyneira avatar Oct 13 '25 15:10 dannyneira