My dot files.
MacOS please install xcode and homebrew as pre-requirements.
Zsh/Bash:
cd ~
git clone https://github.com/linrongbin16/dotfiles.git .dotfiles
cd .dotfiles
./install
Please choose x86_64 for all below dependencies.
Please see: active developer mode.
Install Visual Studio
Install with MSVC components:
- .NET Desktop Development
- Desktop development with C++
Install Git for Windows (for all users)
Click here to see how to install git with windows console enabled.
Install git with the below 3 options:
-
In Select Components, select Associate .sh files to be run with Bash.
-
In Adjusting your PATH environment, select Use Git and optional Unix tools from the Command Prompt.
-
In Configuring the terminal emulator to use with Git Bash, select Use Windows's default console window.
After this step, git.exe and builtin linux commands(such as echo.exe, ls.exe, curl.exe) will be available in %PATH%
.
Install 7-Zip (for all users)
Install Python 3.x (only for current user)
Click here to see how to install python3 only for current user.
-
Select "Customize Installation", unselect "Use admin privileges when installing py.exe".
-
Select all optional features without "for all users (requires admin privileges)".
-
Unselect "Install Python 3.12 for all users", select "Add Python to environment variables" and "Precompile standard library", choose the install directory in your user directory (for example
C:\Users\linrongbin\opt\Python312
). -
Go to the install directory (
C:\Users\linrongbin\opt\Python312
) and copypython.exe
topython3.exe
, and you will havepython3.exe
command in Windows PowerShell/cmd. -
Disable "python.exe" and "python3.exe" app aliases for Windows 10+. Go to Windows "Settings" => "Apps" => "App execution aliases", unselect "python.exe" and "python3.exe".
Install Node.js (only for current user)
Click here to see how to install node only for current user.
# scoop
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
cd $env:USERPROFILE
git clone https://github.com/linrongbin16/dotfiles.git .dotfiles
cd .dotfiles
.\install.ps1