This project is archived. It has been merged with dotfiles.
PSDotfiles is a PowerShell module for configuring the user environment. It is inspired by how dotfiles work in POSIX operating systems but adapted for Windows and PowerShell.
conf
- Configuration files for utilities like VimModules
- PowerShell modules
An optional install script is available to provision PSDotfiles.
PSDotfiles requires:
- Windows 10 or Windows 11
- PowerShell 7.0 or later
Enable Developer mode:
Settings -> Privacy & security -> For Developers
Additional requirements:
To run the provided install script:
Set-ExecutionPolicy Bypass -Scope Process; Invoke-WebRequest https://raw.githubusercontent.com/ascarter/PSDotfiles/main/install.ps1 -UseBasicParsing | Invoke-Expression
If directly executing powershell script is not desired, clone into a location (recommend %USERPROFILE%\.config\PSDotfiles
).
git clone git@github.com:ascarter/PSDotfiles.git $env:USERPROFILE\.config\PSDotfiles
cd $env:USERPROFILE\.config\PSDotfiles
.\install.ps1
PSDotfiles
is implemented as a PowerShell module. The module should be configured to be enabled in the user profile. A convenience cmdlet Update-DevTools
is available to quickly update a useful set of Windows developer tools.
PS> Update-DevTools
Run uninstall PowerShell script to remove links:
cd $env:USERPROFILE\.config\PSDotfiles
.\uninstall.ps1