Install inshellisense globally using npm:
npm install -g @microsoft/inshellisenseTo enable automatic startup of inshellisense in your shell sessions, run the appropriate command below based on your shell. This ensures inshellisense launches automatically in every new shell session:
# bash
is init bash >> ~/.bashrc
# pwsh
is init pwsh | Add-Content $profile
# powershell
is init powershell | Add-Content $profileAfter running the appropriate command, restart your terminal or source the updated config file to apply
I suggest following this tutorial for better understanding.
-
Install FiraCode Nerd Font.
-
Open PowerShell and install Oh My Posh using winget: (Make sure
wingetis installed):
winget install JanDeDobbeleer.OhMyPosh -s winget- Open your PowerShell profile in Notepad (or any text editor):
notepad $PROFILE- Add the following line to the end of your profile script:
oh-my-posh init pwsh --config "https://raw.githubusercontent.com/sapondanaisriwan/beautiful-terminal/refs/heads/main/adashima.omp.json" | Invoke-Expression- Once added, reload your profile for the changes to take effect.
. $PROFILE-
Open Visual Studio Code.
-
Press
Ctrl + Shift + Pand type "Open User Settings (JSON)" and select it. -
Add the following lines inside the JSON object:
// Sets PowerShell as the default terminal
"terminal.integrated.defaultProfile.windows": "PowerShell",
// Sets the font used in the code editor to "FiraCode Nerd Font".
"editor.fontFamily": "FiraCode Nerd Font",
// Sets the font used in the integrated terminal to "FiraCode Nerd Font".
"terminal.integrated.fontFamily": "FiraCode Nerd Font"