Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 2.61 KB

2-WIN-TOOLS-INSTALL.md

File metadata and controls

74 lines (52 loc) · 2.61 KB

2-TOOLS-INSTALL

Goal

To install dev essentials:

  • Windows Terminal
  • chocolatey as package manager for windows
  • PowerShell
  • Git
  • vscode
  • dotnet
  • dotnet global tools
  • docker

Prerequisites

  • Powershell, INITIAL-SETUP.md

Run .\windows\app_install.ps1.

Install windows terminal

Set up PowerShell Profile and Theme

  • Install posh-git
  • Set PowerShell Profile & Theme
    • Run if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force } notepad $PROFILE
    • Set ps_profile.ps1 (manually, copy to settings folder)

PowerShellCore (optional)

  • Install PowerShellCore, powershell-core-on-windows
  • Run dotnet tool install --global PowerShell, manually
  • Copy ps_core_profile.ps1 to $PROFILE folder
  • Copy theme to $ThemeSettings.MyThemeLocation folder
  • Running options: (manually) Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
    • Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
    • Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

GIT (Git Bash)

  • Install Git Bash git, installed in app_install.ps1

In each environnement set up:

git config --global user.email "${email}"
git config --global user.name "${username}"

vscode

dotnet-sdk

You could easily install dotnet sdk via install scripts: https://dotnet.microsoft.com/download/dotnet-core/scripts, installed in app_install.ps1 Examples: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#examples

dotnet-global-tools

docker

Install docker for windows: https://docs.docker.com/docker-for-windows/install/. The suggested way of doing it is to use installer.