- Install and configure Ubuntu WSL
- Install application
- Docker in Windows without Docker Desktop
- Docker/Kubernetes Clients
- Git tricks
sudo apt install curl nano micro mc git net-tools
- xclip as pbcopy
#!/bin/sh # Copyright (C) 2009-2017 Three Nine Consulting # Always good practice to update packages. However ask user if they would like to do so # For explanation on how this works and why check out https://garywoodfine.com/use-pbcopy-on-ubuntu/ read -p "Do you want to update your package repositories before proceeding ? " -n 1 -r echo #adding new line if [[ $REPLY =~ ^[Yy]$ ]] then sudo apt update sudo apt upgrade -y sudo apt autoremove -y fi # Check to see if Xclip is installed if not install it if [ $(dpkg-query -W -f='${Status}' xclip 2>/dev/null | grep -c "ok installed") -eq 0 ]; then echo 'xclip not installed .... installing now!' sudo apt install xclip -y; fi # Add the aliases to the .bashrc echo 'updating bash profile' echo "#pbcopy & pbpaste aliases" >> ~/.bash_aliases echo "alias pbcopy='xclip -selection clipboard'" >> ~/.bash_aliases echo "alias pbpaste='xclip -selection clipboard -o'" >> ~/.bash_aliases
Edit ~/.bash_aliases
alias npp='/mnt/c/Program\ Files/Notepad++/notepad++.exe'
# or alias npp='/mnt/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe'
sudo apt install -u git
- See this article to customize git