浏览代码

Add command to install quickly

add in a command which will do all of the installation steps at once.
ccn 3 年之前
父节点
当前提交
0b2bddf9d0
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -42,6 +42,13 @@ cd yay
 makepkg -si
 ```
 
+If you want to do all of this at once, we can chain the commands like so:
+
+```sh
+pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
+```
+
+
 ### Binary
 
 If you do not want to compile yay yourself you can use the builds generated by