Last active
March 28, 2023 04:15
-
-
Save joshkautz/d0180e89e3b83e6ea62b8780cd4fff8f to your computer and use it in GitHub Desktop.
Windows 11 | Dev Env Config
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
# Run in PowerShell | |
# Configure Terminal App | |
# TODO: Download images from hosting | |
# Download & Install Pyenv | |
Invoke-WebRequest -UseBasicParsing -Uri "https://raw.githubusercontent.com/pyenv-win/pyenv-win/master/pyenv-win/install-pyenv-win.ps1" -OutFile "./install-pyenv-win.ps1"; &"./install-pyenv-win.ps1" | |
# Download & Install AWS CLI | |
Invoke-WebRequest -Uri "https://awscli.amazonaws.com/AWSCLIV2.msi" -OutFile "AWSCLIV2.msi" | |
Start-Process "msiexec.exe" -ArgumentList "/i AWSCLIV2.msi /passive" -Wait | |
# Download & Install Google Chrome | |
#Invoke-WebRequest -Uri "https://dl.google.com/chrome/install/latest/chrome_installer.exe" -OutFile "ChromeSetup.exe" | |
#Start-Process "ChromeSetup.exe" -ArgumentList "/silent /install" -Wait | |
Invoke-WebRequest -Uri "http://dl.google.com/edgedl/chrome/install/GoogleChromeStandaloneEnterprise64.msi" -OutFile "GoogleChromeStandaloneEnterprise64.msi" | |
Start-Process "msiexec.exe" -ArgumentList "/i GoogleChromeStandaloneEnterprise64.msi /passive" -Wait | |
# Download & Install Visual Studio Code | |
Invoke-WebRequest -Uri "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64" -OutFile "VSCodeSetup-x64.exe" | |
Start-Process "VSCodeSetup-x64.exe" -ArgumentList "/VERYSILENT /NORESTART /MERGETASKS=!runcode" -Wait | |
# Todo: Try installing it via NPM so that it can be completely non-interactive. | |
# Download & Install Firebase CLI | |
Invoke-WebRequest -Uri "https://firebase.tools/bin/win/instant/latest" -OutFile "firebase-tools-instant-win.exe" | |
"firebase-tools-instant-win.exe" | |
Write-Output "Configuration Complete!" |
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
# Run in Windows Subsystem for Linux | |
# Install latest NVM | |
versionRelease=$(curl -fs -w %{redirect_url} https://github.com/nvm-sh/nvm/releases/latest); | |
version=$(basename $versionRelease); | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/${version}/install.sh | bash | |
# Install latest Node.js LTS | |
nvm install --lts | |
nvm use --lts | |
# Install Firebase CLI | |
curl -sL https://firebase.tools | bash | |
# Install JQ | |
sudo apt install jq | |
# Add aliases to ~/.bashrc | |
echo '\n# MacOS - Open | https://ss64.com/osx/open.html' >> ~/.bash_aliases | |
echo 'alias open="explorer.exe"' >> ~/.bash_aliases | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment