# dotfiles **Repository Path**: ningbocai/dotfiles ## Basic Information - **Project Name**: dotfiles - **Description**: archlinux dot files - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-08 - **Last Updated**: 2025-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # arch linux wsl 开发环境搭建 # 同步软件包 ```sh pacman -Syyu ``` # 安装git ```sh pacman -S git ``` # 克隆dot files ```sh git clone https://gitee.com/ningbocai/dotfiles.git ``` 将所有文件复制到`~/`目录下。 ```sh cp -r dotfiles/. ~/ rm -rf .git ``` 运行`scripts/`下的脚本安装对应的工具,如: ```sh # 安装fish shell sh install-fish-shell.sh ``` 其中,`logs`目录用来记录一些临时命令之类的内容。 # 安装yay ```sh # 下载yay git clone https://aur.archlinux.org/yay.git # 进入yay目录 cd yay # 从源码构建并安装包yay makepkg -si ``` ==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. **需要非root账号才可以使用makepkg才源码构建包**