DEV Community

Moheshwar Amarnath Biswas
Moheshwar Amarnath Biswas

Posted on • Updated on

 

Make your terminal look like 10x developer!

Steps

Install Terminal

Windows Terminal and Hyper is the terminals I tested. Using another terminal may or may not work.

  winget install --id=Microsoft.WindowsTerminal -e
Enter fullscreen mode Exit fullscreen mode
  winget install hyper
Enter fullscreen mode Exit fullscreen mode
  • brew
  brew install hyper
Enter fullscreen mode Exit fullscreen mode

Install Nerd Fonts

You can install any nerd font.
I recommend installing Caskaydia Cove Nerd Font Complete.

Download Nerd Fonts

Install shell

PowerShell and zsh is the shell I tested. Using other shell may or may not work. All features all only available in PowerShell

  winget install --id Microsoft.Powershell --source winget
Enter fullscreen mode Exit fullscreen mode
  • brew
  brew install --cask powershell
Enter fullscreen mode Exit fullscreen mode

Settings

Set your nerd font as default font in your terminal.

  • Windows Terminal
  1. Open the Windows Terminal app.
  2. Click on the dropdown icon on the title bar.
  3. Select “Settings” from the menu.
  4. Select the shell of your choice on the sidebar.
  5. Go to the “Appearance” tab.
  6. Type the full font name in the “Font Face” field.
  7. Click the “Save” button.
  8. Close and reopen Windows Terminal.
  9. With that, you’ve changed the default font face in Windows Terminal.
  • hyper

See instructions here

Install dependencies

  • oh-my-posh

    • winget
    winget install JanDeDobbeleer.OhMyPosh -s winget
    
    • brew
    brew install jandedobbeleer/oh-my-posh/oh-my-posh
    

Setup

  • PowerShell
curl "https://raw.githubusercontent.com/fluentmoheshwar/terminal-setup/master/pwsh.ps1" | pwsh
Enter fullscreen mode Exit fullscreen mode
  • zsh
curl "https://raw.githubusercontent.com/fluentmoheshwar/terminal-setup/master/ohmyposh.yaml" > ~/ohmyposh.yaml && curl "https://raw.githubusercontent.com/fluentmoheshwar/terminal-setup/master/.zshrc" > ~/.zshrc
Enter fullscreen mode Exit fullscreen mode

Extras

  • gsudo gsudo is like sudo, but for windows. installation:
winget install gsudo
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<