Homebrew
WARNING
This entry is a work in progress and needs a lot of formatting and sorting. Some TODOs.
Setup
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofileeval "$(/opt/homebrew/bin/brew shellenv)"Git
brew install gitXcodes
https://github.com/XcodesOrg/XcodesApp
brew install --cask xcodes-> Launch Xcodes -> Install latest stable version of Xcode -> Install iOS platform
Alfred 5
brew install --cask alfred(or Alfred 4)
-> System Settings: Disable ⌘Space Spotlight shortcut -> Alfred: Set ⌘Space shortcut -> Alfred: Enable Clipboard History and set shortcut to ⇧⌘V
macOCR
https://github.com/schappim/macOCR
brew install schappim/ocr/ocrcurl -O https://files.littlebird.com.au/OCR2-ONrTkn.zipunzip OCR2-ONrTkn.zip -x '__MACOSX/*'open ./OCR2.alfredworkflowrm OCR2-ONrTkn.zip OCR2.alfredworkflowTablePlus
brew install --cask tableplusBartender
brew install --cask bartenderNumi
brew install --cask numiRectangle
brew install --cask rectangleSonos
brew install --cask sonosWarp
brew install --cask warpcoreutils
brew install coreutilsgreadlink
enabled via dotfiles, or:
echo 'alias readlink=greadlink' >> ~/.zshrceza
brew install ezaenabled via dotfiles, or:
echo 'alias ls=eza' >> ~/.zshrcgh
brew install ghgh auth loginwget
brew install wgetzsh-nvm
git clone https://github.com/lukechilds/zsh-nvm.git ~/.zsh-nvmenabled via dotfiles, or:
echo 'export NVM_AUTO_USE=true' >> ~/.zshrcecho 'source ~/.zsh-nvm/zsh-nvm.plugin.zsh' >> ~/.zshrcRestart Terminal (2x)
zsh-syntax-highlighting
brew install zsh-syntax-highlightingenabled via dotfiles, or:
echo 'source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrcRestart Terminal
Pure
mkdir -p "$HOME/.zsh"git clone https://github.com/sindresorhus/pure.git "$HOME/.zsh/pure"enabled via dotfiles, or:
echo 'fpath+=$HOME/.zsh/pure' >> ~/.zshrcecho 'autoload -U promptinit; promptinit' >> ~/.zshrcecho 'prompt pure' >> ~/.zshrcRestart Terminal
Docker
brew install --cask docker-> Start Docker Desktop
Node.js (nvm)
nvm install node.npmrc
If you have a private npm token, add the following to ~/.npmrc:
//registry.npmjs.org/:_authToken=<token>Yarn (corepack)
corepack enable.yarnrc.yml
If you have a private npm token, add the following to ~/.yarnrc.yml:
npmAuthToken: <token>Disable Telemetry
yarn config set --home enableTelemetry 0PHP
brew install shivammathur/php/php@8.3 shivammathur/php/php@8.2 shivammathur/php/php@8.1Composer
wget https://getcomposer.org/download/latest-stable/composer.pharchmod +x composer.pharsudo mv composer.phar /usr/local/bin/composeradded to path via dotfiles, or:
echo 'export PATH="${HOME}/.composer/vendor/bin:$PATH"' >> ~/.zshrcRestart Terminal
ext-imagick
brew install shivammathur/extensions/imagick@8.3 shivammathur/extensions/imagick@8.2 shivammathur/extensions/imagick@8.1brew services restart nginxext-redis
brew install shivammathur/extensions/redis@8.4 shivammathur/extensions/redis@8.3 shivammathur/extensions/redis@8.2 shivammathur/extensions/redis@8.1ext-xdebug
brew install shivammathur/extensions/xdebug@8.3 shivammathur/extensions/xdebug@8.2brew services restart nginxMySQL Client
brew install mysql-clientadded to path via dotfiles, or:
echo 'export PATH="/opt/homebrew/opt/mysql-client/bin:$PATH"' >> ~/.zshrchtop
brew install htopjq
brew install jqKap
brew install --cask kapDiscord
brew install --cask discordLaravel Valet
composer global require laravel/valetvalet installsudo valet trustngrok config
TODO: does this still work?
Token via https://ngrok.com/ @ ~/.ngrok2/ngrok.yml
authtoken: <token>
region: euTrust Valet CA in Firefox
valet secure cavalet unsecure caFirefox settings:
- Privacy & Security
- Scroll down to certificates -> click show certificates
- Click import
- Press ⇧ ⌘ G to be able to specify a path
- Enter
~/.config/valet/CA/and select.pemfile
phpmon
brew install --cask nicoverbruggen/homebrew-cask/phpmonsudo-touchid
brew install artginzburg/tap/sudo-touchidsudo brew services start sudo-touchidsudo-touchidasciiquarium
brew install asciiquariumcowsay
brew install cowsaywebp
brew install webpmkcert
brew install mkcert nssmkcert -installmkdir ~/certscd ~/certsmkcert localhostPortainer
docker run -d -p 9001:9000 \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/Documents/docker/portainer:/data \
-v ~/certs:/certs \
--name portainer \
portainer/portainer-ce:2.5.1 \
--ssl --sslcert /certs/localhost.pem --sslkey /certs/localhost-key.pemMailpit
docker run -d \
--name=mailpit \
--restart unless-stopped \
-v ~/certs:/certs \
-e MP_UI_TLS_CERT=/certs/localhost.pem \
-e MP_UI_TLS_KEY=/certs/localhost-key.pem \
-e TZ=Europe/Berlin \
-p 8025:8025 \
-p 1025:1025 \
axllent/mailpitTODO: The following works but seems wrong. Verify.
echo "sendmail_path = /opt/homebrew/bin/mailhog sendmail test@test -t --smtp-addr 127.0.0.1:1025" >> /opt/homebrew/etc/php/8.3/conf.d/mailhog.iniecho "sendmail_path = /opt/homebrew/bin/mailhog sendmail test@test -t --smtp-addr 127.0.0.1:1025" >> /opt/homebrew/etc/php/8.2/conf.d/mailhog.iniecho "sendmail_path = /opt/homebrew/bin/mailhog sendmail test@test -t --smtp-addr 127.0.0.1:1025" >> /opt/homebrew/etc/php/8.1/conf.d/mailhog.iniTakeout
enabled via dotfiles, or:
echo 'alias takeout="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --add-host=host.docker.internal:host-gateway -it tighten/takeout:latest"' >> ~/.zshrcMySQL 8
takeout enable mysql- Port: 3307
- Tag: 8.0
- Volume: mysql8_data
- Password: secret
Redis
takeout enable redis- Port: 6379
- Tag: latest
- Volume: redis_data
Meilisearch
takeout enable meilisearch --run="-e MEILI_NO_ANALYTICS=true -e MEILI_MASTER_KEY=aSampleMasterKey"- Port: 7700
- Tag: latest
- Volume: meili_data
MinIO
takeout enable minio- Port: 9000
- Tag: latest
- Volume: minio_data
- Console Port: 9002
- Domain: minio.test,minio-api.test
- User: minioadmin
- Password: minioadmin
valet proxy minio-api http://localhost:9000 --securevalet proxy minio http://localhost:9002 --secureForge CLI
composer global require laravel/forge-cli -Wchromedriver
brew install chromedriverpyenv
brew install pyenvenabled via dotfiles, or:
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrcecho 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrcecho 'eval "$(pyenv init -)"' >> ~/.zshrcRestart Terminal
then:
git clone https://github.com/pyenv/pyenv-doctor.git $(pyenv root)/plugins/pyenv-doctorpyenv doctorpyenv install 3.6.15pipenv
pyenv shell 3.6.15pip install --user pipxenabled via dotfiles, or:
echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.zshrcRestart Terminal
pyenv shell 3.6.15pipx install pipenvCloudflare WARP
brew install --cask cloudflare-warpRay
brew install --cask raygit-remote-codecommit
brew install git-remote-codecommitSafari Technology Preview
brew install --cask safari-technology-previewAWS CLI
brew install awscliSession Manager plugin for the AWS CLI
brew install --cask session-manager-pluginAsana
brew install --cask asanaGrype
brew install grypeApidog
brew install --cask apidogHttpie
brew install --cask httpieact
brew install actGOG GALAXY 2.0
brew install --cask gog-galaxyTransmit
brew install --cask transmitHadolint
brew install hadolintTailscale
brew install --cask tailscale