📜  卸载所有自制软件包 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:28.562000             🧑  作者: Mango

代码示例1
while [[ `brew list | wc -l` -ne 0 ]]; do
    for EACH in `brew list`; do
        brew uninstall --force --ignore-dependencies $EACH
    done
done