This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
| Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
| scoop install sudo git dark 7zip innounp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install packages | |
| $packages = @( | |
| 'uutils-coreutils' | |
| 'bat' | |
| 'clink' | |
| 'diffutils' | |
| 'fd' | |
| 'findutils' | |
| 'fzf' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://community.chocolatey.org/ | |
| # correr en modo admin | |
| # primero ver si existe el archivo de profile de powershell (si no, crear uno en blanco antes de correr el sig. script) o correr: notepad $profile | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Test if Admin | |
| if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) | |
| { Write-Host "This script requires administrative privileges."; Exit } | |
| # Check if scoop is installed | |
| Function Test-ScoopInstalled { | |
| $scoopPath = "%USERPROFILE%\Scoop" | |
| return (Test-Path $scoopPath) | |
| } | |
| $initiallyInstalled = Test-ScoopInstalled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Check if scoop is installed | |
| Function Test-ScoopInstalled { | |
| $scoopPath = "%USERPROFILE%\Scoop" | |
| return (Test-Path $scoopPath) | |
| } | |
| $initiallyInstalled = Test-ScoopInstalled | |
| if (-NOT $initiallyInstalled) { | |
| # Install aria2c for multi-connection downloads | |
| scoop install git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Check if scoop is installed | |
| Function Test-ScoopInstalled { | |
| $scoopPath = "%USERPROFILE%\Scoop" | |
| return (Test-Path $scoopPath) | |
| } | |
| $initiallyInstalled = Test-ScoopInstalled | |
| # Install scoop if not installed | |
| if (-NOT $initiallyInstalled) { | |
| Set-ExecutionPolicy RemoteSigned -scope CurrentUser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install, winget needed (scoop?) | |
| winget install --id Microsoft.Powershell --source winget | |
| # upgrade | |
| winget upgrade --id Microsoft.Powershell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DISM.exe /Online /Cleanup-image /Restorehealth | |
| SFC /SCANNOW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scoop bucket add crisipa/scoopbucket https://github.com/crisipa/scoopbucket | |
| scoop install cromite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scoop install ripgrep findutils coreutils grep extras/vcredist2022 emacs # windows essentials | |
| scoop uninstall vcredist2022 # cleaning |
NewerOlder