破解软件绕过签名的办法,应用已损坏
sudo xattr -rd com.apple.quarantine /Applications/xxxxxx.app
mac终端在粘贴时有多余字符:00~ ~01之类的
printf '\e[?2004l'
Mac 终端滚轮不滚页面,而是滚历史命令
tput rmcup
安装 homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Homebrew是一款自由及开放源代码的软件包管理系统,用以简化macOS系统上的软件安装过程。
如果网络不好,可以使用镜像源
"$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
homebrew 降级软件包
$brew unlink node
$brew link --overwrite --force node@20
安装 oh-my-zsh 并开启自动补全
# curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# wegt
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# 国内镜像加速
wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh && sudo chmod a+x install.sh && ./install.sh
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
vim ~/.zshrc
# 加入插件列表
plugins=(git zsh-autosuggestions)
source ~/.zshrc
标签:坑记,https,com,raw,Mac,sh,日常,install,zsh
From: https://www.cnblogs.com/moguw/p/18105942/macos-playground