Repository navigation
Windows installer (beta): PowerShell, Windows Terminal, Neovim, web and Rust through winget - #4
Merged
Merged
Conversation
…m, web and Rust through winget install.ps1 (irm | iex) fetches the repo and runs windows/install.ps1, the same checklist as on Linux and macOS. Windows PowerShell 5.1 and PowerShell 7 compatible, ASCII only. - shell: starship + one PowerShell profile (fzf keys, zoxide, eza, git aliases) for both PowerShells; offers RemoteSigned for the user when 5.1 would refuse the profile - terminal: Windows Terminal fragment with the Ghostty colours and font, optional default - nvim: NvChad in %LOCALAPPDATA%\nvim, GCC from WinLibs when there is no Visual Studio - web: PHP + php.ini, Composer (SHA-256 checked), MariaDB service off by default, phpMyAdmin - rust: rustup-init, GNU toolchain unless Visual Studio Build Tools are wanted - links when Windows allows them, else recorded copies; uninstall.ps1 undoes both - CI: windows-latest under 5.1 and 7 (menu, dry run, real shell/terminal/nvim installs)
…err from the installer under 5.1
…s output when a step fails; CI checks every Mason package
…ne; real run of web
…et's PHP, Mason retries missing packages once
…really installs on Windows
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Windows 10 (1809+) / 11 support next to Linux and macOS, without the desktop parts.
Same checklist menu as on Linux/macOS (
-All,-Only,-DryRun,-Yes,-List), works in Windows PowerShell 5.1 and PowerShell 7.RemoteSignedfor the user when 5.1 would block the profiledefaultProfilechanges, uninstall puts it back)%LOCALAPPDATA%\nvim, same parsers + Mason servers; GCC (WinLibs) when there is no Visual StudioFiles are symlinked when Windows allows it, otherwise copied and recorded;
uninstall.ps1undoes both and restores backups.install.shnow points Git Bash/MSYS users to the PowerShell command.Tested on GitHub Actions
windows-latest(every push): parse + ASCII + menu checks under 5.1 and 7, PSScriptAnalyzer, dry run of everything, real installs of shell + terminal (profile loads in both PowerShells, uninstall clean), nvim (18 parsers, 7 Mason servers) and web (PHP extensions, Composer, MariaDB login, phpMyAdmin).Not tested: a desktop Windows by hand, rust for real, the GCC/GNU fallbacks (the runner has Visual Studio).