Steps
Install Terminal
Windows Terminal and Hyper is the terminals I tested. Using another terminal may or may not work.
-
Windows Terminal
- Microsoft Store (Preferred)
- GitHub
- winget
winget install --id=Microsoft.WindowsTerminal -e
-
Hyper
- Website
- winget
winget install hyper
- brew
brew install hyper
Install Nerd Fonts
You can install any nerd font.
I recommend installing Caskaydia Cove Nerd Font Complete.
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
-
PowerShell
- Microsoft Store
- GitHub
- winget
winget install --id Microsoft.Powershell --source winget
- brew
brew install --cask powershell
- zsh
- zsh is preinstalled on macOS.
- See instructions for windows
Settings
Set your nerd font as default font in your terminal.
- Windows Terminal
- Open the Windows Terminal app.
- Click on the dropdown icon on the title bar.
- Select “Settings” from the menu.
- Select the shell of your choice on the sidebar.
- Go to the “Appearance” tab.
- Type the full font name in the “Font Face” field.
- Click the “Save” button.
- Close and reopen Windows Terminal.
- With that, you’ve changed the default font face in Windows Terminal.
- hyper
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
- 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
Extras
- gsudo gsudo is like sudo, but for windows. installation:
winget install gsudo
Top comments (0)