This guide is meant for setting up a development environment on windows using WSL2. While details guide on mac will come later, this repo is still a valid guideline since every components remain basically the same.
Install Microsoft WSL2 + Linux Distribution
quick start:
wsl --install
Go to settings, open JSON file, and replace with this settings.json
Quick Start:
git clone https://github.com/nvd-dev/Personal-Configuration ~/GitHub/Personal-Configuration
- Install oh-my-zsh
- zsh-autosuggestions
- zsh-syntax-highlighting
- zsh-z
- zsh-nvm (optional)
- git-open (optional)
- Install Powerlevel10k
- Install Nerd Fonts
- Install lsd
- Install Zoxide (optional)
- Customize / clone
.zshrc
from this GitHub repo
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
Install nvm as a zsh plugin. Install zsh-nvm and run nvm upgrade
to upgrade.
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
https://github.com/paulirish/git-open
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
For best features please consider using:
VictorMono Nerd Font
Download the latest .deb package from the release page or via CLI:
curl -LO https://github.com/Peltoche/lsd/releases/download/0.21.0/lsd_0.21.0_amd64.deb
And install it (adapt version number and architecture) via:
sudo dpkg -i lsd_0.21.0_amd64.deb
apt install zoxide
On Ubuntu 18.04 and above:
Sudo apt install neovim
- (if true) Remove the current version of NeoVim
- Download the latest `nvim.appimage` from [ GitHub repo ](https://github.com/neovim/neovim):
- Make it executable for your user
- Move it to a folder that's indexed in your PATH env var so your computer knows what you mean when you type `nvim`.
- To move it there you'll need to use sudo:
- When you type `nvim` it should work, bonus:
-
Add this to ~/.zshrc etc to create an alias in case you accidentally type vi (I always type it by mistake):
alias vi=nvim
-
Also in your bashrc/zshrc etc set your EDITOR env var so various programs know what editor you prefer to use:
EDITOR=/usr/local/bin/nvim
- To update, download the latest `nvim.appimage` and `mv` it to `/nvim`
sudo apt-remove neovim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x ./nvim.appimage
- You can check the folders in your current path by typing `echo $PATH` which will show you something like this: /usr/local/bin:/usr/bin...
sudo mv nvim.appimage /usr/local/bin/nvim
(to be added)
you can set theme for intergrated terminal e.g This set Matrix-01 theme to Vscode terminal:
Matrix-01
"workbench.colorCustomizations": {
"terminal.foreground": "#ddc49a",
"terminal.background": "#191e28",
"terminal.ansiBlack": "#ddc49a",
"terminal.ansiBrightBlack": "#808076",
"terminal.ansiBlue": "#314f6f",
"terminal.ansiBrightBlue": "#376b8c",
"terminal.ansiCyan": "#0f4c64",
"terminal.ansiBrightCyan": "#058b8c",
"terminal.ansiGreen": "#61993b",
"terminal.ansiBrightGreen": "#00b52a",
"terminal.ansiMagenta": "#651e38",
"terminal.ansiBrightMagenta": "#8d3c4b",
"terminal.ansiRed": "#ab273c",
"terminal.ansiBrightRed": "#bb1e10",
"terminal.ansiWhite": "#f1ece1",
"terminal.ansiBrightWhite": "#ecece7",
"terminal.ansiYellow": "#908370",
"terminal.ansiBrightYellow": "#e6d2b5"
}
- VS Code
- IDM
- WinRAR
- PicoTorrent
- KMPlayer
- Tor
- Via