Skip to content

Instantly share code, notes, and snippets.

@dougkusanagi
Last active January 29, 2025 15:30
Show Gist options
  • Save dougkusanagi/0dba6dc140e0ec0e3416c81534f01a5f to your computer and use it in GitHub Desktop.
Save dougkusanagi/0dba6dc140e0ec0e3416c81534f01a5f to your computer and use it in GitHub Desktop.
How to install warp terminal in WSL2 working 31/12/2024
# Required library
sudo apt-get install libasound2t64

# Download installer
wget https://app.warp.dev/download?package=deb -O warp.deb

# Install warp
sudo apt install -y ./warp.deb
# or use `sudo dpkg -i warp.deb`

# Create an alias that disables wayland before launch warp
echo -e "\nalias warp-terminal='WAYLAND_DISPLAY= warp-terminal'\n" >> ~/.bashrc

# Replace windows start menu shortcut
# from: "C:\Program Files\WSL\wslg.exe" -d Ubuntu --cd "~" warp-terminal
# to: "C:\Program Files\WSL\wslg.exe" -d Ubuntu --cd "~" -- env WAYLAND_DISPLAY= warp-terminal

[My must-have code tools](https://gist.github.com/dougkusanagi/dbd3bdc4cc95d2a60cb68196250b6dec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment