Pages

duminică, 22 martie 2026

Tools : install scoop with powershell script.

Scoop downloads and manages packages in a portable way, keeping them neatly isolated in ~\scoop .
Simple powershell script to install the scoop installer.
# check is scoop is on pc
if (Get-Command scoop -ErrorAction SilentlyContinue) {
    Write-Host "Scoop este deja instalat."
    exit
}

# set running script for user
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

# install the scoop
iwr -useb get.scoop.sh | iex

# check the install process
if (Get-Command scoop -ErrorAction SilentlyContinue) {
    Write-Host "Scoop a fost instalat cu succes!"
} else {
    Write-Host "Instalarea Scoop a eșuat."
}