My Windows dotfiles are a collection of steps, scripts, and configuration files to initialize a Windows machine. The primary technologies attributed to this project are:
- PowerShell: The primary scripting language used to automate the configuration of the local machine.
- GitHub: The version control system and platform used to store and serve the distribution of the dotfiles.
- Windows: The intended operating system for the development environment.
- WinGet: The package manager used to install software and tools on the destination machine.
This repository is a partially automated set up of local machine configuration on a Windows device. A few pre-requisite steps are outlined in the below set up guide. The final step is the download and invocation of the Install-Dotfiles.ps1 script. This script will do the following:
- Install Git for Windows
- Format a Dev Drive if one doesn't already exist
- Clone repository to Dev Drive or fetch latest if already exists
- Import WinGet packages
- Install a Nerd Font
- Install PoshGit
- Install PoShFuck
- Install Azure PowerShell
- Set PowerShell Profile
- Set Environment Variables
-
Install PowerShell via WinGet:
winget install --exact --id Microsoft.PowerShell.Preview --source winget
-
Open a PowerShell session for further steps.
-
Install WSL directly via the following command:
wsl --install
-
Afterwards, you will need to restart the machine before continuing.
-
From an administrative PowerShell session, set execution policy to remote signed and invoke dotfiles installation:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/victorfrye/dotfiles/main/scripts/Install-Dotfiles.ps1' | Invoke-Expression