Assuming you have Visual studio code installed and on the path. Assuming you have git installed and on the path.
- Open PowerShell.
- Edit your profile
code $profile
- Paste the content of the file below
- Save in UTF-8 with BOM encoding.
- Open a new PowerShell or source your new profile
. $profile