diff --git a/README.md b/README.md index 421aef8..f3d144e 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -# chocolatey \ No newline at end of file +# Chocolatey + ++ Abra o powershell como adminstrador; ++ Execute o comando abaixo; ++ Faça um café. + + Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/felipementel/chocolately/main/install.ps1')) diff --git a/install.ps1 b/install.ps1 new file mode 100644 index 0000000..b5b2f2c --- /dev/null +++ b/install.ps1 @@ -0,0 +1,37 @@ +<# chocolatey setup #> +Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); +​ +<# allowing globally confirmation #> +choco feature enable -n=allowGlobalConfirmation; + +<# programs to install #> +@( +"git" +,"netfx-4.8-devpack" +,"microsoft-edge" +,"dotnetcore-sdk" +,"visualstudio2019professional" +,"microsoft-windows-terminal" +,"azure-cli" +,"cmder" +,"wireshark" +,"westwindwebsurge" +,"sql-server-management-studio" +,"robo3t" +,"azure-data-studio" +,"mobaxterm" +,"docker-desktop" +,"nodejs-lts" +,"postman" +,"notepadplusplus" +,"vim" +,"sublimetext3" +,"typora" +,"microsoft-teams") + ($pins = @("vscode")) | % { choco install $_ }; + +<# avoiding future upgrades of these following programs. #> $pins | % { choco pin add -n="$_" }; + +<# excluded +,"archi" +,"hyper" +#>