(Mac - skip to 4)
- Enable developer mode in windows settings
- Enable WSL (if not in settings, try
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
) - Install distro from windows store, i.e Ubuntu 18.
- Install basic software:
- Git
- vscode
- Node LTS
- nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
- cmder
- Hyper
- Chromium, etc
(Mac - skip to 2)
-
Set up AHK Add the following script to:
run
&&shell:startup
. -
Add .gitconfig
nano ~/.gitconfig
. For mac
- optioanlly install meld for windows
- Set up vs code
- CTRL shift P and look up Sync.
- Sign in and sync settings
(Mac - skip to 4)
-
Setup Hyper Copy the config file to Hyper's preferences.
-
Add .bashrc
nano ~/.bashrc
& .profile if not already setupnano ~/.profile
NB: bashrc does not have to launch zsh starting with 1803 => see article
- Install zsh:
sudo apt-get update
sudo apt upgrade
sudo apt install zsh
sudo apt-get install powerline fonts-powerline
3.1 Set as default shell => chsh -s $(which zsh)
-
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
-
Add .zshrc
nano ~/.zshrc
-
Add rupa/z
nano $ZSH_CUSTOM/z.sh
7. Add ohmyzsh theme nano $ZSH_CUSTOM/themes/bullet-train.zsh-theme
-
Add zsh theme https://github.com/romkatv/powerlevel10k
-
Install powerline fonts on WSL
cd /mnt/c && git clone https://github.com/powerline/fonts
- in Admin PS,
cd c:\fonts
, thenSet-ExecutionPolicy Bypass
, then.\install.ps1
, thenSet-ExecutionPolicy Default
-
Setup ssh key (i.e. this); add to Github, Azure DevOps, etc
-
(bonus for windows) Git is slow. Make git fast.
sudo nano /usr/local/git
#!/bin/sh
if pwd | grep /mnt/c > /dev/null; then
exec git.exe "$@"
else
exec /usr/bin/git "$@"
fi
- Mac: Install other cli tools:
- Install homebrew then
brew install delta
&&brew install bat
&&brew install jq
&&brew install jless
update gitconfig
[core]
pager = delta