Skip to content

Instantly share code, notes, and snippets.

@kahnwong
Last active February 27, 2023 12:26
Show Gist options
  • Save kahnwong/4351f9727e547b0e5d68a0bccd8bee7d to your computer and use it in GitHub Desktop.
Save kahnwong/4351f9727e547b0e5d68a0bccd8bee7d to your computer and use it in GitHub Desktop.
windows-setup-jdk8
@echo off
SET DIR=%~dp0%
::download install.ps1
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://community.chocolatey.org/install.ps1','%DIR%install.ps1'))"
::run installer
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"
choco install temurin8 -y
choco install maven -y
choco install intellijidea-edu -y
choco install git -y
choco install git-fork -y
choco install googlechrome -y
choco install openvpn -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment