• Trace:

This is an old revision of the document!


windows setup

install essentials

  • run everything in admin powershell
# prepare DRV
New-Item -Force -ItemType Directory -Path 'c:\drv' 
$download_url = "http://repo.sxl.net/win/bin/curl.exe"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile($download_url, "c:\drv\curl.exe")
Set-Location C:\drv
.\curl.exe -o wget.exe -L http://repo.sxl.net/win/bin/wget.exe
.\curl.exe -o 7za.exe -L http://repo.sxl.net/win/bin/7za.exe
 
# install chocolatey
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'))
 
# config chocolatey
choco feature enable -n allowGlobalConfirmation
choco feature enable -n useRememberedArgumentsForUpgrades
 
# install essentials
choco install 7zip.commandline wget aria2 gsudo grep curl which nircmd choco-cleaner peazip.install
#choco install microsoft-windows-terminal
pub/windows_setup_2.1663230200.txt.gz ยท Last modified: 2022/09/15 08:23 by derek