Skip to content

sleithdylan/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Personal development environment for Windows and Unix-based systems (WSL/Linux/MacOS).

WSL2

Installing WSL2

wsl.exe --install

To list available distros: wsl.exe --list --online

Unregister a distro

List installed distros:

wsl.exe --list --verbose

Unregister (destroy) a distro:

wsl --unregister <DistroName>

Scripts

Windows (PowerShell)

Run as Administrator:

# Run the init script
Set-ExecutionPolicy Bypass -Scope Process -Force; .\scripts\init.ps1

Optional flags:

Flag Description
-SkipChocolatey Skip Chocolatey and all package installs
-SkipFonts Skip Nerd Font installation (used for icons in shell prompts)
-SkipModules Skip PowerShell Gallery modules (used for shell enhancements)
-SkipOhMyPosh Skip Oh My Posh installation (prompt theme engine)
-SkipProfile Skip PowerShell profile setup
-SkipTerminalConfig Skip Windows Terminal configuration (suppresses PowerShell copyright banner)
-UpdatePackages Upgrade installed packages to the versions pinned in chocolatey.config
-RemoveOrphaned Remove installed packages not listed in chocolatey.config
# Run the init script with all optional flags
Set-ExecutionPolicy Bypass -Scope Process -Force; .\scripts\init.ps1 -UpdatePackages -RemoveOrphaned -SkipFonts -SkipModules -SkipOhMyPosh -SkipProfile -SkipTerminalConfig

WSL / Linux / macOS

# Make the script executable
chmod +x scripts/init.sh

# Run the init script
./scripts/init.sh

Optional flags:

Flag Description
--update-packages Upgrade already-installed packages to their latest available version
# Make the script executable
chmod +x scripts/init.sh

# Run the init script with all optional flags
./scripts/init.sh --update-packages

Automatically detects your OS (WSL, Linux, macOS) and uses apt or Homebrew accordingly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors