ShinChven's Blog

How I should Survive Windows

Developer's Environment2021-06-14 05:41:17

Settings up a developer's env on windows is complicated, so I'm leaving this memo to remind myself of what to do when my windows ENV got crushed or reset.

Install NodeJS

Install nodejs using installer from nodejs.org.

Why it should be done first is that the nodejs installer bundles chocolatey, python and other windows build tools

Install Windows Terminal

Install Windows Terminal from Microsoft Store, so it can be updated automatically.

Config Chocolatey Proxy

choco config set proxy <PROXY_URL>

Install Everything Else from Chocolatey

choco install -y `
  7zip `
  bandizip `
  fontbase `
  git `
  nerdfont-hack `
  powershell-core `
  starship `
  telegram `
  vim `
  vscode `
  vlc `
  potplayer `
  postman `
  jetbrainstoolbox `
  foobar2000 `
  mkvtoolnix `
  flac `
  picard `
  crystaldiskmark `
  crystaldiskinfo `
  aida64-extreme `
  rufus `
  freedownloadmanager `


Hack Nerd Mono

Should be installed in previews step.

Windows Terminal Themes

```JSON settings.json { "profiles": { "defaults": { "useAcrylic": true, "acrylicOpacity": 0.7 } } }

## PowerShell Setup

### Edit the PowerShell profile

> ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

ps1 vim $PROFILE



### Enable Starship


Enable Starship

Invoke-Expression (&starship init powershell)

### Setup PSReadline for Autocompletion and Autosuggestion



Shows navigable menu of all options when hitting Tab

Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete

Autocompletion for arrow keys

Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward

Autosuggestion, Press right arrow key to complete the suggestion

Set-PSReadlineOption -ShowToolTips Set-PSReadlineOption -PredictionSource History ```

Apps from MicrosoftStore


Get Snipaste from Microsoft Store.

Explorer Extensions

Get QuickLook from Microsoft Store.