Setup the fish shell on Windows — step by step

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.

Run Bash on Windows

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.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store