Last active
March 8, 2023 19:20
-
-
Save WillSams/aecece4d52df77c73fd0af1f054c6ff8 to your computer and use it in GitHub Desktop.
Windows Dev Install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "************************************************************" | |
echo "* WINDOWS-DEV-INSTALLER SRCIPT *" | |
echo "* this script should be executed with admin privileges *" | |
echo "************************************************************" | |
echo "* STEP 1 - Install Chocolatey ******************************" | |
mkdir C:\ProgramData\chocoportable | |
"# Set directory for installation - Chocolatey does not lock | |
# down the directory if not the default | |
$InstallDir='C:\ProgramData\chocoportable' | |
$env:ChocolateyInstall="$InstallDir" | |
# If your PowerShell Execution policy is restrictive, you may | |
# not be able to get around that. Try setting your session to | |
# Bypass. | |
Set-ExecutionPolicy Bypass -Scope Process -Force; | |
# All install options - offline, proxy, etc at | |
# https://chocolatey.org/install | |
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" | Out-File -FilePath "choco-install.ps1" -Force | |
.\choco-install.ps1 | |
choco feature enable -n useFipsCompliantChecksums | |
choco install -y git.commandline --force | |
choco install -y vim-tux.portable --force | |
choco install -y docker-for-windows --force | |
choco install -y eksctl --force | |
choco install -y curl --force | |
choco install -y wget --force | |
echo "* STEP 2 - Install kubectl ******************************" | |
mkdir C:\ProgramData\kubectl | |
Invoke-WebRequest -Uri https://dl.k8s.io/release/v1.26.0/bin/windows/amd64/kubectl.exe" -OutFile "C:\ProgramData\kubectl\kubectl.exe" | |
Add-Content -Path $PROFILE.AllUsersAllHosts -Value '$env:Path += ";C:\ProgramData\kubectl"' | |
echo "* STEP 3 - Install AWS-CLI ******************************" | |
Invoke-WebRequest -Uri "https://awscli.amazonaws.com/AWSCLIV2.msi" -OutFile "awscli.msi" | |
.\awscli.msi | |
echo "* STEP 4 - Install NVM for Windows **********************" | |
Invoke-WebRequest -Uri "https://github.com/coreybutler/nvm-windows/releases/download/1.1.10/nvm-setup.exe" -OutFile "nvm-setup.exe" | |
.\nvm-setup.exe | |
nvm install lts/hydrogen | |
nvm install lts/gallium | |
nvm install lts/fermium | |
echo "* STEP 5 - Open VSCode and allow it to finish plugins install *******" | |
code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment