homebrew
brew install --cask formula brew search text brew list brew update brew upgrade (formula|無しですべて) #更新があるパッケージを再ビルドする brew bundle dump --global _force brew bundle --global brew bundle cleanup --global --force
ref
qiita.com kunolog.com qiita.com
homebrewインストール直後のメッセージ
- パスを通すようガイドしてくれる
- ここでふと、evalとsourceの違いってなんだろう、と気になり始めた
==> Next steps: - Run these two commands in your terminal to add Homebrew to your PATH: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/yuki/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
evalとsourceの違い
- 細かい違いはあるが、やろうとしていることに大きな違いはないらしい
There are no differences between the two ways. There is only one note: eval concatenated all of its arguments, which is then run as a single command. source reads the contents of a file and executes them. eval can only build commands from its arguments, not stdin.