Getting stuff installed - Dupie696/dookie GitHub Wiki

target audience

These instructions are targeted for windows 11. These instructions are based on the Linux equivalent processes.

instructions

install vscode from the windows store

 <no instructions>

Set the shell to powershell (might be the default)

 <no instructions>

install git with the Windows Package Manager

# winget install --id Git.Git -e --source winget

make a private key

# ssh-keygen -t ed25519 -C $(hostname) 

enable ssh-agent

# Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command `"Set-Service -Name ssh-agent -StartupType Manual; Start-Service ssh-agent`"" -Verb RunAs

set ssh-agent to autostart

# Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command `"Set-Service -Name ssh-agent -StartupType Automatic; Start-Service ssh-agent`"" -Verb RunAs

Add your ssh key to the ssh-agent

ssh-add "$HOME\.ssh\id_ed25519"

Troubleshooting

If git is still prompting you for a password, set the ssh command to openssh

git config --global core.sshCommand "C:/Windows/System32/OpenSSH/ssh.exe"