At firsts i didn't belive that i can finally bring this beautifull terminal to windows
That's right not only linux users can do stuffs like this π
Follow steps to Make your terminal like me πͺΆ
Scoop is a command-line installer for Windows we need it to install neofetch and other stuffs
Refer to this link: https://github.com/ScoopInstaller/Scoop
Run this command in your Powershell after that it will ask you to accept some trust policies
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
> irm get.scoop.sh | iex
Neofetch is a command-line system information Link: https://github.com/dylanaraps/neofetch
Run this command in your powershell terminal
scoop install neofetch
after installation
Run this command to see your first colored ascii art
neofetch
First go to this path on your computer
C:\Users\{{Username}}\scoop\apps\neofetch\current
You will see a file named neofetch if you want to apply exactly my ascii art replace the file with one i put in repository Otherwise open it in a editor and search for windows you'll see a ascii windows logo replace it with whatever you want run neofetch again on your terminal to see the applied changes
For more customization options go on this path
C:\Users\No1\.config\neofetch
There is a file named config.conf again if you want my style replace it with the exact name file i put in repository Open it you will see a func named print_info() at first so there are some ready option made there if you want to see them remove # (it's comment syntax ) otherwise any options you dont want to see put # at the first of them to comment them
Run this command to apply changes
neofetch --config C:/Users/{{UserName}/.config\neofetch/config.conf
Next Step is to download windows terminal prev version from microsoft store !!important only prev version be carefull about that Note: For iranian ( Should Use Vpn to download : ( )
Open the terminal click on the top side bar open settings
open json settings file here :
Do These actions by order :
Download Monfur nerd font or any other nerd font and install it
Monfur font link: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/Monofur.zip
Link: https://www.nerdfonts.com/
inside profiles ==> lists ==> []
put at the first
{
"adjustIndistinguishableColors": "indexed",
"backgroundImage": "(Your Background Image path if you want)",
"backgroundImageOpacity": 0.2,
"backgroundImageStretchMode": "uniformToFill",
"colorScheme": "Tango Dark",
"commandline": "powershell.exe -NoLogo -NoExit",
"elevate": true,
"experimental.retroTerminalEffect": false,
"font":
{
"face": "Monofur Nerd Font Mono",
"size": 13.0,
"weight": "medium"
},
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"icon": "(your top icon path if you want)",
"name": "Itz-Amethyst",
"opacity": 80,
"useAcrylic": true
},
Save file
Note: Your Default terminal is now powershell and must be !
A prompt theme engine for any shell.
If you want you can refer to this link for installation guide Link: https://ohmyposh.dev/docs/installation/windows
Run this command to install :
scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json
It's time to configure you terminal or shell to use oh my posh For this example i used powershell but you can use any other terminals ....
Run this command in your terminal It will ask you to create for the first time so accept it
notepad $PROFILE
And puth this line inside
oh-my-posh init pwsh | Invoke-Expression
After that run this in your terminal
.$PROFILE
π Congratulations π If everything went well you will see a modern terminal but that's not all !!
It's time to make it like what you want !
Run This command to get all themes
Get-PoshThemes
Refer to this site and pick your theme All Themes : https://ohmyposh.dev/docs/themes
Run this to open your profile
notepad $PROFILE
put this inside of it !!!! Replace url with theme url refered to link i put
oh-my-posh init pwsh --config '{{Url}}' | Invoke-Expression
Replace {{ThemeName}} with your theme name
oh-my-posh init pwsh --config 'C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\{{ThemeName}}.omp.json' | Invoke-Expression
run this command to install Terminal-Theme to looks better
Install-Module -Name Terminal-Icons -Repository PSGallery
πFinal Part ! Putting all this together
run this in you terminal
notepad $PROFILE
and put these codes inside of it
Import-Module -Name Terminal-Icons
neofetch
It should look like like this at final
Import-Module -Name Terminal-Icons
neofetch
oh-my-posh init pwsh --config 'C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\{{ThemeName}}.omp.json' | Invoke-Expression
Run this to apply
.$PROFILE
πͺπ» You did it
π Achievement Unlocked π
π JUST DO IT π
If you want your terminal theme looks like mine download the MyCustom Theme and put it inside themes location inside your computer
C:\Users\{{YourUsername}\AppData\Local\Programs\oh-my-posh\themes\
Run this
notepad$PROFILE
And Replace oh my posh theme with this
oh-my-posh init pwsh --config 'C:\Users\{{YOURUSERNAME}}\AppData\Local\Programs\oh-my-posh\themes\MyCustom.omp.json' | Invoke-Expression
and final
.$PROFILE
You can support this repo by giving star π
Feel free to open pull requests π§΅
----------------------- π¨ -------------------------------
Blog: https://dev.to/anupa/beautify-your-windows-terminal-1la8
Youtube: https://www.youtube.com/watch?v=Rwxi5kgvqac&ab_channel=Kedilik
Youtube: https://www.youtube.com/watch?v=Ov3yi-9jbFI&ab_channel=TheLinuxCast