-
Enable developer mode in Windows Settings. This allows you to create symbolic links without elevation.
-
Install the latest release of PowerShell.
-
Install Windows Terminal from the Microsoft Store.
-
Open Windows Terminal and execute the install script from this repository.
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/wjrogers/dotfiles/master/install.ps1')
-
Add a key to the agent (note: you only have to do this once; Windows saves it in the hopefully-secure Windows Credential Manager -- yet another reason to lock your workstation)
ssh-add <path-to-private-key>
Install Windows Subsystem for Linux (WSL) on Windows 10
-
In an elevated PowerShell, enable the feature
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
-
Reboot when prompted
-
Install Ubuntu from the Microsoft Store
-
Install wsltty
-
(Optional) Install preferred fonts e.g. Deja Vu, Fira Code, Hack
-
(WSL v1) Make a symlink to the repository cloned in your Windows user profile
ln -s /mnt/c/Users/will/dotfiles/ ~/.dotfiles cd ~/.dotfiles
-
(Linux) Clone this repository
git clone https://github.com/wjrogers/dotfiles.git ~/.dotfiles cd ~/.dotfiles git submodule update --init git remote set-url origin [email protected]:wjrogers/dotfiles.git
-
Run
install.sh
to complete setup./install.sh