-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit_machine.ps1
48 lines (36 loc) · 1 KB
/
init_machine.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Install winget via MSFT Store https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1
Write-Output "Install apps with winget."
winget install Microsoft.Powertoys
if ($?) #Contains True if last operation succeeded and False otherwise.
{
Write-Output "Powertoys installed successfully."
}
winget install Microsoft.WindowsTerminal
if ($?)
{
Write-Output "Terminal installed successfully."
}
winget install Microsoft.PowerShell
if ($?)
{
Write-Output "Powershell installed successfully."
}
winget install Microsoft.VisualStudioCode-System-x64
if ($?)
{
Write-Output "VS Code installed successfully."
}
winget install Docker.DockerDesktop
if ($?)
{
Write-Output "Docker installed successfully."
}
# powershell modules
# poshgit
# oh-my-posh
# PSReadLine
# git set up
# git aliases
# keep git from changing line endings.
# git config --global core.autocrlf false
# Maybes: update/default to wsl2, pull terminal settings from git