Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.84 KB

Bootstrapping

Windows

  1. Enable developer mode in Windows Settings. This allows you to create symbolic links without elevation.

  2. Install the latest release of PowerShell.

  3. Install Windows Terminal from the Microsoft Store.

  4. 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')
  5. 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>

Windows Subsystem for Linux

Install Windows Subsystem for Linux (WSL) on Windows 10

  1. In an elevated PowerShell, enable the feature

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  2. Reboot when prompted

  3. Install Ubuntu from the Microsoft Store

  4. Install wsltty

  5. (Optional) Install preferred fonts e.g. Deja Vu, Fira Code, Hack

Linux

  1. (WSL v1) Make a symlink to the repository cloned in your Windows user profile

    ln -s /mnt/c/Users/will/dotfiles/ ~/.dotfiles
    cd ~/.dotfiles
  2. (Linux) Clone this repository

    git clone https://github.com/wjrogers/dotfiles.git ~/.dotfiles
    cd ~/.dotfiles
    git submodule update --init
    git remote set-url origin git@github.com:wjrogers/dotfiles.git
  3. Run install.sh to complete setup

    ./install.sh