Blade Runner 2049, but it is in your Windows Terminal
Tags: programming, productivity, wsl, windowsterminal
Published: 2021-10-19 08:31:05

My lab assistant once said, "*Make your terminal feels like your home!*" and proceed to show me a cool terminal during lab session. I didn't have the time to do it back then but now I get a chance to. So here's how I make my Windows Terminal looks like I using it from the movie [Blade Runner 2049](https://www.imdb.com/title/tt1856101/) since it feels like a futuristic home to me 😉.

[1. Install Windows Subsystem Linux 2 (WSL2)](#1-install-windows-subsystem-linux-2-wsl2)
[2. Install Windows Terminal](#2-install-windows-terminal)
[3. Install Z Shell (zsh) as the default shell](#3-install-z-shell-zsh-as-the-default-shell)
[4. Prepare the image or GIF for the background](#4-prepare-the-image-or-GIF-for-the-background)
[5. Change the background and text](#5-change-the-background-and-text)

---

## 1. Install Windows Subsystem Linux 2 (WSL2)

The first thing is to install WSL2 on the device since I'm using Windows as my OS and WSL2 provide more than the previous version. You might ask, why don't you use PowerShell or Windows Command Prompt instead? The reason is I'm not used to it since my college and my work environment mostly depends on Windows. **Go to step 2 if you don't wanna install**. You need to **install WSL1 before** you could **install WSL2**. I'm not gonna explain it further here since it is out of this scope. There's just no shortcut to install WSL2. Follow [this instruction](https://www.windowscentral.com/install-windows-subsystem-linux-windows-10) on **WSL** installation first, then [this instruction](https://www.windowscentral.com/how-install-wsl2-windows-10) on **WSL2** installation.

![WSL2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e3oisr36qhd7ftu42mv9.png)

## 2. Install Windows Terminal

This is quite easy. Go to the **Microsoft Store** and **type `Windows Terminal`** on the search bar. Click the product and click the Get or Install button. Let the process finish. Once it's done you're on set. Hold `Win + R` and type `wt` to run Windows Terminal. We are installing this after WSL2 so Windows Terminal could instantly register WSL2 on it.

![Windows Terminal](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ueo7oss8yfb7hz70cm7q.png)

## 3. Install Z Shell (zsh) as the default shell

This step is just for **WSL users only**. **Go to step 4 if you are not**. The reason I choose this shell is for these 2 primary reasons. First, zsh is the [second-fastest shell](https://towardsdatascience.com/comparing-sh-bash-ksh-and-zsh-speed-82a72bbc20ed) as far as I know. Second, it has a great framework that improves usability, [Oh-My-Zsh](https://github.com/robbyrussell/oh-my-zsh), no pun intended. Follow [this article](https://medium.com/tech-notes-and-geek-stuff/install-zsh-on-arch-linux-manjaro-and-make-it-your-default-shell-b0098b756a7a) on how to install zsh and its plugins. When it comes to choosing a [zsh theme](https://github.com/robbyrussell/oh-my-zsh/wiki/Themes), just go for the `jonathan` or  `agnoster` theme. For me personally, the terminal designs fit perfectly with the futuristic nuance of the movie 🤖.

![zsh](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ao7sjdvdt46ad0n30a50.png)

## 4. Prepare the image or GIF for the background

This part, I leave it to you, whether to choose a static image or gif for the background. For me personally, I want something alive accompanying me while I'm doing some code or script on the terminal 😂. So I go with the gif. Usually the gif itself I get from a certain movie scene. I look for the scene on YouTube, download it, [trim it](https://online-video-cutter.com/) if it's too long and [convert it into a gif](https://ezgif.com/video-to-gif). I'll use this gif below from a hilarious movie [RocknRolla](https://www.imdb.com/title/tt1032755/) directed by one of my favourite directors Guy Ritchie on my PowerShell. This scene depicts perfectly what I thought about PowerShell in case I must use it for effectiveness. Handsome Bob (Tom Hardy) once came out to his friend OneTwo (Gerard Butler) and then said, "*I told you, you wouldn't understand!*". It might apply as well when I was told to explain my code to my colleagues. And believe me. it is way funnier in the movie context 🤣😭.

![Handsome Bob](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f8e8kh2eqlzgfv93e9rv.gif)

## 5. Change the background and text

Here's come the neat part 😎. On Windows Terminal, hold `ctrl + ,` to open **Settings**. There's a lot of options here but we just focus on these 2 things, background and font style. Under **Profiles** Section, choose your CLI program, in this case, I choose PowerShell first. Go to **Appearance** and then scroll down until you find **Retro toggle** and switch it on. Then scroll down once more and you will get to the **Background image** and browse for the gif file path. Don't forget to adjust the background through its stretch mode, alignment and opacity. I'm using "uniform to fill", "center" and 40% respectively.

![Appearance configuration](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/58pqmecl8mrqsdna1gra.png)

And that configuration yield this result which is perfect! 👌. Programmer tends to look on the darker work environment so that's why I only use 40% opacity.

![Windows Terminal - Powershell](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g1qrqz8er970rczy37rd.gif)

Okay, that was PowerShell I rarely use. This one is for my WSL2. First, I could use any scene with Joe or Agent K from Blade Runner 2049 movie for my background. But then the longer I stare at this terminal, the more depressing I've become to think about my *existential crisis regarding my code and myself*. Then I come to terms with this background. Instead of thinking about depressing stuff, why don't I turn it into something positive, let's say a therapy session 💡? I ended up using Pat from [Silver Lining Playbook](https://www.imdb.com/title/tt1045658/) on his therapy session since it's spark a hilarious and refreshing moment when I stare at it 😁.

![Windows Terminal - WSL2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6u3lykx9jh914jukcp4h.gif)

Okay, that's it. One might say I don't really use the Blade Runner 2049 reference on this but for me, mine is enough to hype the vibe and keep me motivated. How about yours? 😎

[Let's be friend & support me👋](https://beacons.ai/ranggakd)