March 18, 2023
zsh, brew, Mac, macOS

zsh # Terminal # Set zsh as a default shell # Check the default shell $ echo $SHELL /bin/bash Check a list of available shells $ cat /etc/shells /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh Change the default shell from bash to zsh $ chsh -s /bin/zsh Copy configurations $ cat ~/.bashrc >> ~/.zshrc $ cat ~/.bash_profile >> ~/.zshrc Please rewrite the configuration for bash to the one for zsh ...


August 10, 2022
Homebrew, brew, Mac, macOS

Overview # Homebrew is a package maneger for macOS. Install # /bin/bash -c "$(curl -fsSL" Command # Show help. brew help Update Homebrew itself. brew update Update packages. brew upgrade Install a package. brew install <package name> e.g. brew install wget Search a package. brew search <package name> brew search /regex/ List all installed packages. brew list List all installed packages with parent directories brew list -v Uninstall an package. ...