镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

My boxstarter

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

Windows and WSL BoxStarter

To get started, open Microsoft Store and ensure that all packages are updates. This is needed to get the latest version of winget.

Run these command from a Terminal (Admin). Use WinKey-X

Invoke-WebRequest -Uri https://github.com/RobCannon/boxstarter/raw/main/.config/dsc/admin.dsc.yaml -OutFile .\admin.dsc.yaml
winget configure --file .\admin.dsc.yaml --accept-configuration-agreements
Remove-Item .\admin.dsc.yaml
exit

Run these command from a Terminal. Use WinKey-X.

gh auth login

Then run these commands

$GitHubProfile = Get-Content "$($env:APPDATA)/GitHub CLI/hosts.yml" | ?{ $_ -match 'user:' } | %{ $_ -replace '\s+user:\s+','' }
function dotfiles { git.exe --git-dir=$HOME\.cfg --work-tree=$HOME $args }
git clone --bare "https://github.com/RobCannon/boxstarter.git" $HOME/.cfg
dotfiles config --local status.showUntrackedFiles no
dotfiles checkout -f main
dotfiles push --set-upstream origin main

. "$HOME\.local\bin\boxstarter.ps1"
exit

Rob's Preferences

Invoke-WebRequest -Uri https://github.com/RobCannon/boxstarter/raw/main/.config/dsc/personalize.dsc.yaml -OutFile .\personalize.dsc.yaml
winget configure --file .\personalize.dsc.yaml --accept-configuration-agreements
Remove-Item .\personalize.dsc.yaml
exit

About

My boxstarter

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages