Warning
This is a work in progress.
TODO: fzf, nvm, delta, exiftool
This guide provides step-by-step instructions for setting up a complete development environment on Windows, including WSL, package managers, and essential tools.
| winget source reset --force | |
| winget source update | |
| winget install Microsoft.VisualStudioCode --silent --accept-package-agreements --accept-source-agreements | |
| winget install Docker.DockerDesktop --silent --accept-package-agreements --accept-source-agreements | |
| winget install Microsoft.VisualStudio.2022.Enterprise --silent --accept-package-agreements --accept-source-agreements | |
| winget install GitExtensionsTeam.GitExtensions --silent --accept-package-agreements --accept-source-agreements | |
| winget install Microsoft.PowerShell --silent --accept-package-agreements --accept-source-agreements | |
| winget install Microsoft.AzureCLI --silent --accept-package-agreements --accept-source-agreements | |
| winget install JanDeDobbeleer.OhMyPosh --silent --accept-package-agreements --accept-source-agreements |
| # Set High Performance profile | |
| powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c | |
| # Disable monitor timeout | |
| powercfg.exe /change monitor-timeout-ac 0 | |
| powercfg.exe /change monitor-timeout-dc 0 | |
| # Disable standby timeout | |
| powercfg.exe /change standby-timeout-ac 0 | |
| powercfg.exe /change standby-timeout-dc 0 |
| #Install WinGet | |
| Write-Host "-=Installing WinGet=-" -ForegroundColor Black -BackgroundColor White | |
| $hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
| if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
| Add-AppxPackage -Path 'https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' | |
| Write-Host "WinGet is installed" -ForegroundColor Green | |
| } | |
| else { | |
| Write-Host "WinGet is already installed" -ForegroundColor Green | |
| } |
| # MIT License | |
| # Copyright (c) 2022 robbieh | |
| # See https://mit-license.org/ for details about MIT License | |
| # Prep WSL # WSL is getting easier to install. Yah!! | |
| wsl --install | |
| #dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| #dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| # wsl --install -d ubuntu # wsl --instal now defaults to ubuntu (no *nix pref) and WSL2 |
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
| if(!(window.jQuery)) { | |
| var script = document.createElement("script"); | |
| script.setAttribute("src", "https://code.jquery.com/jquery-2.2.1.min.js"); | |
| script.setAttribute("type", "text/javascript"); | |
| script.onload = logItems; | |
| document.getElementsByTagName("head")[0].appendChild(script); | |
| } else { | |
| logItems(); | |
| } |
| # Configure basic system settings | |
| Update-ExecutionPolicy Unrestricted | |
| Set-ExplorerOptions -showFileExtensions | |
| Enable-RemoteDesktop | |
| # Fix library locations | |
| Move-LibraryDirectory "Personal" "$env:UserProfile\OneDrive\Documents" | |
| Move-LibraryDirectory "My Music" "$env:UserProfile\OneDrive\Music" | |
| Move-LibraryDirectory "My Pictures" "$env:UserProfile\OneDrive\Pictures" | |
| Move-LibraryDirectory "My Video" "$env:UserProfile\OneDrive\Videos" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Backbone.js Todos</title> | |
| <link rel="stylesheet" href="todos.css"/> | |
| </head> | |
| <body> |
As configured in my dotfiles.
start new:
tmux
start new with session name: