This repo contains the dotfiles for my MacOS system.
Tool | Version | Description |
---|---|---|
kitty | 0.37.0 | Fast, feature-rich, GPU-based terminal emulator |
zsh | N/A | Modern shell with advanced features and customization |
nvim | N/A | Highly extensible Vim-based text editor |
sketchybar | N/A | Highly customizable macOS status bar replacement |
yabai | N/A | Tiling window manager for macOS |
skhd | N/A | Simple hotkey daemon for macOS |
tmux | 3.5a | Terminal multiplexer for multiple sessions |
yazi | N/A | Rust-based terminal file manager for macOS |
lazygit | N/A | Simple terminal UI for git operations |
Important
Please disable SIP before running the setup script.
Before everything, shut down your Mac and hold the power button for a while to boot into recovery mode.
Then, run the following command to disable SIP:
csrutil disable
Then, intall homebrew, nvm and miniforge.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
curl https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh | sh
Then, pull the repo and enter the folder
git clone git@github.com:BiboyQG/dotfiles.git && cd dotfiles
Next, we run the setup script
zsh setup_1.sh
zsh setup_2.sh
You need to run the following command before rebooting:
sudo nvram boot-args=-arm64e_preview_abi
After that, you need to manually add the following line into sudo visudo /etc/sudoers
:
Defaults env_keep += "TERMINFO"
echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai
brew services start sketchybar
skhd --restart-service
sudo yabai --load-sa
npx -y @smithery/cli@latest install @smithery-ai/github --client claude
npx -y @smithery/cli@latest install @wonderwhy-er/desktop-commander --client claude
npx -y @smithery/cli@latest install @suekou/mcp-notion-server --client claude
npx -y @smithery/cli@latest install @executeautomation/playwright-mcp-server --client claude
And goog 5B1C le calendar MCP server: https://github.com/GongRzhe/Calendar-Autoauth-MCP-Server
Here's a step-by-step guide to resolve the Playwright MCP server errors:
- Clean NPM Cache
First, clear your NPM cache to ensure a clean installation:
npm cache clean --force
- Remove Existing Playwright
Uninstall any existing Playwright installations:
npm uninstall -g playwright playwright-core @playwright/test
- Install Specific Playwright Version
Install a stable version of Playwright with better compatibility:
npm install -g playwright@1.41.2 playwright-core@1.41.2
- Install MCP Server
Install the latest version of the MCP server:
npm install -g @executeautomation/playwright-mcp-server@latest
You are all set!