Because I love Windows from the bottom of my heart 🩵.
~said nobody
Run it with one command:
irm "https://fwin.lazyfreax.dev" | iexNote
fwin.lazyfreax.dev is just a redirect to this git repo. If you do not trust it, feel free to use the command below instead:
irm "https://raw.githubusercontent.com/coko7/f-win/refs/heads/main/fwin.ps1" | iexOlder Windows PowerShell (e.g. on Windows Server) does not enable TLS 1.2 by default, which GitHub requires. The script enables it for its own downloads, but the command fetching the script itself runs before that. In this case, enable TLS 1.2 in the same command:
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; irm "https://fwin.lazyfreax.dev" | iexIf it still fails, your machine likely lacks .NET Framework 4.5+ or the OS-level TLS 1.2 update.
Scoop needs 7-zip to install packages correctly. Some organizations/countries tend to block 7-zip for whatever reasons. If you find yourself in this spot, you can try to install 7-zip manually via copying MSI and then instructing scoop to use an external binary:
scoop config use_external_7zip trueTip
Learn more here: ScoopInstaller/Scoop#6553
If you run into the following:
Updating Scoop...
fatal: unable to access 'https://github.com/ScoopInstaller/Scoop/': schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.You may want to switch the git SSL backend to OpenSSL:
git config --global http.sslBackend opensslTip
Learn more here: https://stackoverflow.com/questions/45556189/git-the-revocation-function-was-unable-to-check-revocation-for-the-certificate
For a more complete solution in the same spirit, check out: ctt/winutil. It's way better and has many customizations options beyond just installing apps and CLIs.
fwin is my personal installation script to setup all the tools I need in one command.