DEV Community

Cover image for Warp terminal on WSL is AMAZING
karleeov
karleeov

Posted on

Warp terminal on WSL is AMAZING

If you’re a developer working with Windows Subsystem for Linux (WSL), prepare to be amazed by Warp Terminal. My journey with Warp began by following the footsteps of @ljtruong, updating Ubuntu, and ensuring all packages were up to date. The real magic started when I downloaded and installed the Warp Terminal.

Installation: A Breeze
The process was straightforward. I grabbed the .deb file directly from Warp’s official download page and installed it within WSL using the following command:

sudo dpkg -i warp-terminal_<latest_version>.deb
Enter fullscreen mode Exit fullscreen mode

Execution: Smooth and Seamless
Running Warp Terminal was as simple as setting a couple of environment variables. I added these lines to my ~/.bash_profile:

export WARP_ENABLE_WAYLAND=1
export MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA
export BROWSER=google-chrome
Enter fullscreen mode Exit fullscreen mode

With these variables set, launching Warp Terminal was just a matter of typing warp-terminal into the console.

Authentication: Secured and Swift
To obtain the authentication token, I installed Google Chrome in WSL. Downloading and installing Chrome was a quick two-step process:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt -y install ./google-chrome-stable_current_amd64.deb
Enter fullscreen mode Exit fullscreen mode

After setting Chrome as the default browser and adding export BROWSER=google-chrome to my profile config, I logged into Warp’s remote login page. A few clicks later, Warp Terminal synced with the authentication token, and I was ready to go.

The Result: Beyond Expectations
The result was nothing short of spectacular. Warp Terminal on WSL is not just another terminal; it’s a testament to how seamless development on Windows can be. It’s fast, it’s efficient, and it integrates flawlessly with the graphical environment, thanks to the Wayland support.

For developers looking to streamline their workflow, Warp Terminal is a must-try. It’s not just a tool; it’s an experience that elevates your coding sessions to new heights.

Feel free to adjust the content to better fit your voice and experience. Happy blogging!

Top comments (4)

Collapse
 
danhof profile image
Daniel Hofman

I don’t mean to sound spammy, but it seems that you would benefit from CommandGit GUI.

Collapse
 
kamek profile image
kamek

Carapace is better, and easier to setup, and gives you docs/options for way more commands.

Collapse
 
idmb10 profile image
Ivan David Martinez Baron

Thank you. When I click on the "warp" icon in windows explorer, why does it not show up like others gui apps?
The only way to run warp is calling from the terminal "warp-terminal"

Collapse
 
karleeov profile image
karleeov

u installed the x11 ? like the gui driver as well?