Skip to content

Instantly share code, notes, and snippets.

@dalraf
Created February 4, 2026 13:42
Show Gist options
  • Select an option

  • Save dalraf/32481e9fdcec6dcb33eedd32ad6041de to your computer and use it in GitHub Desktop.

Select an option

Save dalraf/32481e9fdcec6dcb33eedd32ad6041de to your computer and use it in GitHub Desktop.
@echo off
REM Instalar o Chocolatey
echo Instalando o Chocolatey...
SET CHOCO_INSTALL_SCRIPT=https://community.chocolatey.org/install.ps1
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; Invoke-WebRequest '%CHOCO_INSTALL_SCRIPT%' -OutFile 'install.ps1'; & '.\install.ps1'"
REM Esperar até que o Chocolatey seja instalado
echo Aguardando a instalação do Chocolatey...
timeout /t 10
REM Instalar os softwares usando o Chocolatey
echo Instalando softwares...
C:\ProgramData\chocolatey\choco install googlechrome firefox -y
REM Instalar SSH
echo Instalando SSH...
C:\ProgramData\chocolatey\choco install openssh -params '"/SSHServerFeature"'
echo Processo concluído!
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment