diff --git a/windows/dev-tool-setup.ps1 b/windows/dev-tool-setup.ps1 new file mode 100644 index 0000000..8b09d7c --- /dev/null +++ b/windows/dev-tool-setup.ps1 @@ -0,0 +1,6 @@ +echo "Installing Mozilla Firefox Developer Edition" +winget install --id=Mozilla.Firefox.DeveloperEdition -e +echo "Installing Github Packages" +winget install --id=Git.Git -e ; winget install --id=GitHub.cli -e ; winget install --id=GitHub.GitHubDesktop -e +echo "Installing Extra package" +winget install --id=Microsoft.WindowsTerminal -e diff --git a/windows/docker-setup.ps1 b/windows/docker-setup.ps1 new file mode 100644 index 0000000..e968bab --- /dev/null +++ b/windows/docker-setup.ps1 @@ -0,0 +1,2 @@ +echo "Installing Docker Desktop" +winget install docker diff --git a/windows/essential-setup.ps1 b/windows/essential-setup.ps1 new file mode 100644 index 0000000..1f15d80 --- /dev/null +++ b/windows/essential-setup.ps1 @@ -0,0 +1,4 @@ +echo "Setup permission elevation package" +winget install --id=gsudo gerardog.gsudo -e +echo "Installing Notepad Plus Plus" +winget install --id=Notepad++.Notepad++ -e diff --git a/windows/ide-setup.ps1 b/windows/ide-setup.ps1 new file mode 100644 index 0000000..1510556 --- /dev/null +++ b/windows/ide-setup.ps1 @@ -0,0 +1,6 @@ +echo "Installing VsCode" +winget install vscode +echo "Installing Microsoft Visual Studio 2022" +winget install --id=Microsoft.VisualStudio.2022.Community-Preview -e +echo "Installing Dev frameworks.." +winget install --id= Microsoft.DotNet.SDK.7 -e winget install --id=Microsoft.DotNet.SDK.Preview -e ; winget install --id=OpenJS.NodeJS.LTS -e diff --git a/windows/winget-setup.ps1 b/windows/winget-setup.ps1 new file mode 100644 index 0000000..ab32dd5 --- /dev/null +++ b/windows/winget-setup.ps1 @@ -0,0 +1,9 @@ +## Winget stup for windows +if ((Get-ComputerInfo | Select-Object -expand OsName) -match 10) { + echo "Starting Winget setup" + Invoke-WebRequest https://github.com/microsoft/winget-cli/releases/download/v1.6.1573-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile ./winget.msixbundle + Add-AppPackage -path ./winget.msixbundle + Remove-Item ./winget.msixbundle +} else { + Install-Module -Name Microsoft.WinGet.Client -Force -AllowPrerelease -AcceptLicense +} \ No newline at end of file diff --git a/windows/wsl-setup.ps1 b/windows/wsl-setup.ps1 new file mode 100644 index 0000000..a9abe75 --- /dev/null +++ b/windows/wsl-setup.ps1 @@ -0,0 +1,13 @@ +echo "Setting up Windows Linux SubSystem..." +Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Windows-Subsystem-Linux' -All -NoRestart +Enable-WindowsOptionalFeature -Online -FeatureName 'VirtualMachinePlatform' -All -NoRestart +wsl --update +wsl --set-default-version 2 + +Invoke-WebRequest https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi -OutFile ./wsl-kernel.msi +echo "Starting WSL kernel installation..." +Start-Process ./wsl-kernel.msi -ArgumentList "/quiet /passive" +Remove-Item ./wsl-kernel.msi + +echo "Installing Ubuntu image.." +wsl --install Ubuntu