Last active
May 25, 2023 12:41
-
-
Save RedcoatAsher/4b68f9db3361e383153cf77fc2c03aac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/asherperuscini/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
B="brew" | |
I="install" | |
M="mas" | |
# brew update/upgrade | |
$B update && $B upgrade | |
# reinstall homebrew taps | |
# rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" | |
# brew tap homebrew/core | |
/usr/sbin/softwareupdate --install-rosetta --agree-to-license | |
# INIT | |
$B $I wget | |
# zshrc profile | |
wget https://gist.githubusercontent.com/RedcoatAsher/58499f67a167212777bded1a3d722096/raw/3df388bc2a7ae665d64f8072bd6037c5396641c0/work_macOS.zshrc | |
mv mac_bark.zshrc ~/.zshrc | |
source ~/.zshrc | |
# OS CORE | |
$B $I git | |
$B $I coreutils | |
$B $I bluetoothconnector | |
# Alfred dependencies | |
$B $I node | |
$B $I --cask alfred | |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-node.sh)" | |
$B $I php | |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-php.sh)" | |
$B $I pyenv | |
pyenv $I 2.7.18 | |
$B $I python@2 | |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python2.sh)" | |
$B $I python3 | |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python3.sh)" | |
sudo ln -s /usr/local/bin/python3 /usr/local/bin/python | |
sudo ln -s /usr/local/bin/pip3 /usr/local/bin/pip | |
python3 -m pip $I --upgrade setuptools | |
python3 -m pip $I --upgrade pip | |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python2.sh)" | |
pip3 $I heic-to-jpg | |
# Install Apps | |
wget https://gist.githubusercontent.com/RedcoatAsher/4c245bb7a5a6846656feb45b50e96e42/raw/2b2754eaa11e62ef4dc1ab35c128798d0d67a94e/install_apps_brew.sh | |
wget https://gist.githubusercontent.com/RedcoatAsher/c31046af26eeb7a864928bff5a8251bf/raw/d963776a28ef4cc6a5bb3f6db929e44f68bae4fc/install_apps_mas.sh | |
bash install_apps_brew.sh | |
bash install_apps_mas.sh | |
# Xcode Deps | |
xcode-select --$I | |
xcode-select -p | |
xcode cli $I | |
# deprecated | |
# $B $I rsync | |
# $B $I php | |
# BREW HYGIENE | |
$B autoremove | |
$B cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment