On macOS:
- First, install Xcode along with command line tools and run
xcode-select --install
rake install
to add symlinks to home directory, andrake uninstall
to remove them.
On Linux:
- Run
./install_linux.sh
Install Meslo
Point preferences to dotfiles directory:
Then quit and reopen iTerm.
Install oh-my-zsh
Install p10k
Install zsh-autosuggestions
Install nvm without brew: https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating
Install brew. Then run:
brew install git postgresql@14 redis libyaml libffi cmake imagemagick graphviz ffmpeg yarn libxml2 ansible jq watchman cocoapods
brew tap facebook/fb
brew install idb-companion
mkdir -p ~/Library/LaunchAgents
# Note: replace `postgresql@14` with the version you installed:
ln -sfv /opt/homebrew/opt/postgresql@14/*.plist ~/Library/LaunchAgents
ln -sfv /opt/homebrew/opt/redis/*.plist ~/Library/LaunchAgents
echo $UID => 501
launchctl enable gui/501/homebrew.mxcl.postgresql
launchctl enable gui/501/homebrew.mxcl.redis.plist
brew services start postgresql@14
createuser -s postgres
yarn cache clean
xcrun simctl delete unavailable
OmniDiskSweeper: https://www.omnigroup.com/more/
Clear old iOS device support folders at open ~/Library/Developer/Xcode/iOS\ DeviceSupport
Go to https://github.com/settings/tokens/new and create a repo
scope access token. Then run:
bundle config --global github.com [GITHUB_USERNAME]:[ACCESS_TOKEN]
If allowing Remote Login, add these in target computer's /etc/ssh/sshd_config
to allow only public key authentication:
PasswordAuthentication no
ChallengeResponseAuthentication no
and then modify target computer's ~/.ssh/authorized_keys
to include the public key of the source computer.