- paru (AUR package manager)
- tmux
- tpm plugin
- git
- lazgit
- delta (diff tools)
- zsh
- oh-my-zsh
- powerlevel10k
- nerdfont
- idea
- vim plugin
- nvim
- rg
- fd
- lazygit
- nerdfont
- fzf
mkdir .config
cd .config
git clone https://github.com/kentchiu/dotfile.git
ln -sf ~/.config/dotfile/.zshrc ~/.zshrc
# or
# ln -sf ~/.config/dotfile/.zshrc-2 ~/.zshrc
ln -sf ~/.config/dotfile/.gitconfig ~/.gitconfig
ln -sf ~/.config/dotfile/.tmux.conf ~/.tmux.conf
install tpm
install oh-my-zsh
install zsh plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
install paru for AUR package manager
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -simust have package
sudo pacman -Syu --noconfirm \
&& sudo pacman -S --noconfirm wget net-tools htop tree gdu less bat exa htop vim zoxidebest to have package
sudo pacman -S --noconfirm jq yq tldr
install tmux plugin manager
sudo pacman -S --noconfirm tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -sf ~/.config/dotfile/.tmux.conf ~/.tmux.conf
# start tmux
tmux
tmux source ~/.tmux.conf
# ctrl + b + I to install pluginsleader + I to install plugins after install
sudo pacman -S --noconfirm git lazygit git-delta
mkdir -p ~/config/lazygit
ln -sf ~/.config/dotfile/.lazygit-config ~/config/lazygit/config.ymlsudo pacman -S --noconfirm neovim ripgrep fd fzf gcc curl tree-sitter-cli
ln -sf ~/.config/dotfile/nvim ~/.config/nvimrun nvim and :checkhealth
本專案將常用的 ~/.config 配置直接管理於根目錄,與 nvim/ 保持一致的平面結構。
# Kitty 終端模擬器
ln -sf ~/.config/dotfile/kitty ~/.config/kitty
# Hyprland 視窗管理器
ln -sf ~/.config/dotfile/hypr ~/.config/hypr
# Waybar 狀態列
ln -sf ~/.config/dotfile/waybar ~/.config/waybar
# Fcitx5 輸入法
ln -sf ~/.config/dotfile/fcitx5 ~/.config/fcitx5
# Walker 應用啟動器
ln -sf ~/.config/dotfile/walker ~/.config/walker
# Starship prompt (如果尚未建立)
ln -sf ~/.config/dotfile/starship.toml ~/.config/starship.toml注意事項:
hypr/.claude/和各配置中的CLAUDE.md為本機特定檔案,不會納入版本控制fcitx5/conf/cached_layouts為快取檔案,會自動生成- 建立符號連結前請先備份現有配置
NOTE: BACKUP all of those files before
lncommand
Open powershell with administrator privileges
New-Item -ItemType SymbolicLink -Path "$env:userprofile\.gitconfig" -Target "$env:userprofile\dev\dotfile\.gitconfig" -Force
New-Item -ItemType SymbolicLink -Path "$env:userprofile\.wezterm.lua" -Target "$env:userprofile\dev\dotfile\.wezterm.lua" -Force
New-Item -ItemType SymbolicLink -Path "$env:userprofile\AppData\Local\nvim" -Target "$env:userprofile\dev\dotfile\nvim" -Force