git isn't part of your powershell path.
What does it mean when the vs code says this ?
Submitted 2 months ago by LoveEspresso@retrofed.com to ask@piefed.social
Comments
sj_zero 2 months ago federation: confirmed
LoveEspresso@retrofed.com 2 months ago
i am using it from my WSL
Object@sh.itjust.works 2 months ago
You don’t have git installed on your PC. Download the installer from https://git-scm.com/install/windows, or just enter this command to install it:
winget install --id Git.Git -e --source wingetLoveEspresso@retrofed.com 2 months ago
git version 2.53.0 is already existing in my system.
Object@sh.itjust.works 2 months ago
These are things I would try:
- Restart VSCode
- Restart computer (because newly installed programs don’t get registered by other programs until you fully restart them)
- Click on the down arrow next to plus icon (which is next to the text “powershell") in your screenshot, and see if git bash is available there. It should appear as an entry in the list.
Not sure what I would do if none of these work.
LoveEspresso@retrofed.com 2 months ago
It’s saying command winget not found.
LoveEspresso@retrofed.com 2 months ago
i see. Thanks.
hemko@lemmy.dbzer0.com 2 months ago
You don’t have git installed. You can install it using your OSes package manager, like
apt install giton Debian and derivativesLoveEspresso@retrofed.com 2 months ago
I have git version 2.53.0 installed.