This project uses dotdrop and mise.
The following instructions assume a first-time setup is being performed.
First, install PowerShell 7 using cmd or powershell:
winget install --id Microsoft.PowerShell --source wingetLaunch PowerShell 7 and install Scoop:
Set-ExecutionPolicy -Scope CurrentUser Bypass
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-ExpressionThis will also install Git.
Clone the repo:
git clone https://github.com/shyun3/dotfiles.git $Env:UserProfile/.config/dotdropRun bootstrap.ps1. This will install dotdrop and all dependencies. Restart
PowerShell to apply any changes to PATH.
Assuming the Windows steps above were completed, install WSL using pwsh in
administrator mode:
wsl --installClone the repo:
git clone git@github.com:shyun3/dotfiles.git ~/.dotfilesInstall mise:
curl https://mise.run | shConfirm that mise is on the PATH. If not, try restarting the shell.
dotdrop -p windows installPowerShell may need restarting to apply all changes.
If using WSL, apply the following first:
mise -C ~/.dotfiles -E root bootstrapMake sure to trust the mise config, if prompted.
WSL needs restarting to apply all changes. A distribution can be shutdown in
PowerShell by running wsl --terminate <distroName>.
Then, install the Linux dotfiles (tested on Ubuntu):
cd ~/.dotfiles
mise trust
mise bootstrap -E linux --updateZsh may need restarting to apply all changes.
The examples directory may also contain several tips, see its corresponding README.
Also, the wiki has a lot of useful info.
Auto-detection of the platform environment can be enabled in
~/.config/mise/miserc.toml:
auto_env = trueSee docs for more details.
This will simplify the call for installing dotfiles:
mise bootstrapMake sure to specify the user name and email. This can be done with scoped configs, see example.
Additional global Git options are read from ~/.gitconfig-local. This can be
useful for setting user details. See example.
- Run
:checkhealthto see if there are issues that need resolving