Skip to content

Instantly share code, notes, and snippets.

@kus
Last active February 14, 2024 11:48
Show Gist options
  • Save kus/0d33effa3b896c112837e78be70403d1 to your computer and use it in GitHub Desktop.
Save kus/0d33effa3b896c112837e78be70403d1 to your computer and use it in GitHub Desktop.
Get a clean Windows up and running as a gaming and developer PC.

Install Chocolatey

Open Command Prompt as Administrator (right click > Run as administrator)

Paste into Command Prompt and hit enter:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

When complete, install packages:

choco install -y chocolateygui dropbox googlechrome adobereader jre8 python2 7zip geforce-experience vlc ccleaner malwarebytes dropbox steam epicgameslauncher origin battle.net discord spotify slack whatsapp evernote beyondcompare handbrake sourcetree vscode nodejs yarn git mongodb ffmpeg imagemagick blender

Install Windows Build tools:

npm install --global --production windows-build-tools

If using SourceTree you will probably get errors when trying to clone git errors.

If you get an error like this:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 aa:db:aa:00:ba:c0:b0:c0:d0:e0:f0:a0:a2:00:13:eb
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.

Find where SourceTree is installed (mine is currently C:\Users\User\AppData\Local\SourceTree\) and look for where the embedded PuTTY is (currently app-3.4.16\tools\putty) then open command prompt CMD + R "cmd" and enter "C:\Users\User\AppData\Local\SourceTree\app-3.4.16\tools\putty\plink.exe" github.com and type yes. Now it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment