Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smholvoet/.dotfiles
Windows 10 / 11 clean install utility scripts 🚀
https://github.com/smholvoet/.dotfiles
chocolatey install-script oh-my-posh powershell windows-10 windows-11
Last synced: 3 months ago
JSON representation
Windows 10 / 11 clean install utility scripts 🚀
- Host: GitHub
- URL: https://github.com/smholvoet/.dotfiles
- Owner: smholvoet
- Created: 2021-11-24T19:15:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T16:13:23.000Z (almost 2 years ago)
- Last Synced: 2024-05-23T00:34:40.153Z (6 months ago)
- Topics: chocolatey, install-script, oh-my-posh, powershell, windows-10, windows-11
- Language: PowerShell
- Homepage:
- Size: 41 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - smholvoet/.dotfiles - Windows 10 / 11 clean install utility scripts 🚀 (PowerShell)
README
# âš™ .dotfiles
## Steps
### ✅ Installation
Open `Invoke-Install.ps1` in an elevated [PowerShell ISE](https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise) prompt and run the required sections.
By default, this script will:
- [Uninstall Microsoft Edge (Stable channel)](https://www.sanderh.dev/remove-Microsoft-Edge-PowerShell/) and Windows Terminal. These will be reinstalled via Chocolatey
- Install [Chocolatey](https://chocolatey.org/), along with all packages defined in `$ChocoPackages`
- Install [Visual Studio Code](https://code.visualstudio.com/) along with all extensions defined in the following variables:- `$VsCodeThemes`: Themes
- `$VsCodeIcons`: Icons
- `$VsCodeExtensionsCustom`: Custom extensions
- `$VsCodeExtensionsMs`: Microsoft extensions- Install the NuGet [package provider](https://docs.microsoft.com/en-us/powershell/module/packagemanagement/install-packageprovider) for PowerShell
- Install all PowerShell modules defined in `$PwshModules` and list them after installation### ✅ Configuration
Open `Invoke-Config.ps1` in VS Code and run the required sections using the integrated terminal.
By default, this script will:
- Clone this repo in `~\repos\github`
- Configure [oh-my-posh](https://ohmyposh.dev/) to use a custom theme, defined in `oh-my-posh\sander.omp.json`
- Load my [PowerShell profile](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles), defined in `pwsh\Microsoft.PowerShell_profile.ps1`
- Load my Windows Terminal settings, defined in `windows-terminal\settings.json`
- Load my VS Code settings, defined in `vscode\settings.json`
- Run [Sophia Script](https://github.com/farag2/Sophia-Script-for-Windows) with a custom configuration, defined in `sophia\Sophia_custom.ps1`### ✅ Updates
Run `Invoke-Update.ps1` manually or create a [scheduled task](https://www.technipages.com/scheduled-task-windows). This script will update:
- All Chocolatey packages
- All PowerShell modules