Setup the fish shell on Windows — step by step

Pankaj Jaiswal
2 min readApr 25, 2020

fish shell is one of the most popular shells for the terminal in Mac and Linux. It is also available on Windows 10 with the introduction of Windows Subsytem for Linux (WSL). My favorite feature of the fish shell is autosuggestion.

In this post, I will guide you step by step on how to set up it on Windows.

Step 1 — Installing Linux Subsystem

There are many ways to install WLS, ill showing easiest.

  1. Firstly, launch Settings.
  2. Then, tap on Applications.
  3. After that, tap the ‘Programs and Features’ option. It shall be located under the ‘Related settings’ part.
  4. Next, tap on a ‘Turn Windows features on or off’ tab.
  5. Then, put a tick on the Windows Subsystem for Linux square.
  6. After that, tap on the OK option.
  7. Lastly, tap on the Restart now option.

Run Bash on Windows

  1. Open a command prompt (CMD). Type “cmd” in the start.
  2. Type bash and hit enter.

You will be prompt to accept the license. just type y and hit enter. After you have accepted the License, the Ubuntu user-mode image will be downloaded and a “Bash on Ubuntu on Windows” shortcut will be added to your start menu.

To launch Bash on Windows, either run bash at a cmd/PowerShell command-prompt, or use the start menu shortcut.

Step 2 — Installing fish

Install fish repository

$ sudo apt-add-repository ppa:fish-shell/release-3

Update and upgrade repository

$ sudo apt-get update && sudo apt-get upgrade

Install fish shell

$ sudo apt-get install fish

Congratulation, you are done. Enjoy.

Make your fish terminal look good and work well. Read the below article to find out how. https://midnightgamer.medium.com/make-your-windows-terminal-look-like-and-work-like-macs-zsh-16ed8c3fa329

--

--