-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick-setup-core.ps1
More file actions
49 lines (38 loc) · 1.63 KB
/
quick-setup-core.ps1
File metadata and controls
49 lines (38 loc) · 1.63 KB
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
49
# Windows 10 development environment setup for programming languages, sdks, and packages
Write-Host '----- Setting up scoop package manager.'
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop bucket add extras
Write-Host '----- Setting up vim, curl, wget, grep, touch, 7zip, and GNU on Windows.'
scoop install vim wget curl grep touch 7zip gow git
Write-Host '----- Setting up python 3.'
scoop install python
Write-Host '----- Setting up node.js.'
scoop install nodejs
Write-Host '----- Setting up aws-cli.'
pip3 install awscli --upgrade --user
pip3 install aws-mfa --user
mkdir ~/.aws
Write-Host '----- Setting up go.'
scoop install go
Write-Host '----- Setting up dotnet core sdk.'
scoop install dotnet-sdk
Write-Host '----- Setting up powershell 6 (pwsh).'
scoop install pwsh
Write-Host '----- Setting up terraform.'
scoop install terraform
Write-Host '----- Setting up Visual Studio Code.'
scoop install vscode
#TODO: install multipass, may require some powershell installer magic.
<# Example from the automated pwsh installer (multipass install instructions here: https://multipass.run/docs/installing-on-windows)
$randomFileName = [System.IO.Path]::GetRandomFileName()
$tmpMsiPath = Microsoft.PowerShell.Management\Join-Path ([System.IO.Path]::GetTempPath()) "$randomFileName.msi"
Microsoft.PowerShell.Utility\Invoke-RestMethod -Uri https://github.com/PowerShell/PowerShell/releases/download/v6.2.4/PowerShell-6.2.4-win-x64.msi -OutFile $tmpMsiPath
try
{
Microsoft.PowerShell.Management\Start-Process -Wait -Path $tmpMsiPath
}
finally
{
Microsoft.PowerShell.Management\Remove-Item $tmpMsiPath
}
#>