Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.21 KB

win-core

About

Standard component install scripts for Windows OS
Standard components to be installed:

  • WinGet
  • PowerShell 7
  • git

What optional component will be installed is controlled by tags (space separated).
Available tags are:

  • no-std: Skip installation of standard components
  • terminal: Install Windows Terminal
  • dotnet: Install .NET 6 SDK
  • msvc22-win10: Visual Studio Build Tools 2022 Win10 (MSVC)
  • vs: Install Visual Studio 2022 Pro with desktop development workload

Usage

  1. Copy the command below, paste it in a PowerShell (admin mode) shell.
  2. Edit tags before pressing enter if needed (space separated).
  3. After installation is complete, your email address will be asked to set it in .gitconfig file.
"https://github.com/redcoreit/win-core/raw/master/install.ps1" | % { $Tags = "terminal"; (New-Object Net.WebClient).DownloadString($_) | iex }

Tools

addpat64

Helper script to add repo access PAT (as base64) to .gitconfig, using include file. In case of github, use the whole PAT string, like github_pat_foo_bar.

"https://github.com/redcoreit/win-core/raw/master/addpat64.ps1" | % { (New-Object Net.WebClient).DownloadString($_) | iex }