Skip to content

Instantly share code, notes, and snippets.

@takitani
Created February 9, 2022 02:00
Show Gist options
  • Save takitani/a13eec6c5cea408aab6786acf422c991 to your computer and use it in GitHub Desktop.
Save takitani/a13eec6c5cea408aab6786acf422c991 to your computer and use it in GitHub Desktop.
Os Setup - Windows 11
# Renomear User folder para remover acento do nome do AD
# Choco - no powershell com admin
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install googlechrome -y
choco install firefox -y
choco install 7zip.install -y
choco install jetbrainstoolbox
choco install vscode -y
choco install notepadplusplus.install -y
choco install vlc -y
choco install vcredist140 -y
choco install chocolatey-windowsupdate.extension -y
choco install git.install -y
choco install nodejs.install -y
choco install autohotkey -y
# choco install autohotkey.portable -y
choco install resharper -y
choco install datagrip -y
choco install microsoft-windows-terminal -y
choco install netfx-4.8-devpack -y
choco install copyq -y
choco install authy-desktop -y
choco install postgresql -y
choco install everything -y
cup all -y
choco install wkhtmltopdf -y
mklink /J "C:\Program Files\wkhtmltopdf" "C:\Program Files (x86)\wkhtmltopdf"
choco install ghostscript -y
choco install autohotkey -y
choco install fiddler -y
# .net 4.8
choco install dotnetfx -y
# OhMyPosh
https://ohmyposh.dev/docs/windows
#NerdFonts
https://www.youtube.com/watch?v=VT2L1SXFq9U
Autocomplete no ps
https://github.com/PowerShell/PSReadLine
code $PROFILE (no powershell)
Import-Module PSReadLine
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Import-Module oh-my-posh
oh-my-posh --init --shell pwsh --config ~/agnosterplus.omp.json | Invoke-Expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment