Skip to content

prafaelo/setup-my-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-my-mac

🍎 All kind of Useful macOS Commands & Shortcuts

Commands for automated macOS setup

# system

sudo scutil --set ComputerName prafaelo.com
sudo scutil --set LocalHostName prafaelo
dscacheutil -flushcache
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# // homebrew usefull commands
brew help # // show useful commands
brew update # // update to newest formula and homebrew
brew doctor # // perform troubleshooting
brew list -l # // list all installed formulae and casks
brew install --cask vagrant

vagrant version
brew install --cask virtualbox

# VBoxManage manual: https://www.virtualbox.org/manual/ch08.html
VBoxManage -version
brew install --cask microsoft-remote-desktop

# git 1,2

brew install git
PATH=/usr/local/git/bin:$PATH

git config --global user.name "prafaelo"
git config --global user.email "prafaelo@icloud.com"
git config -l #show all local git param
# Github Desktop, see https://github.com/desktop/desktop
brew install --cask github
# // openjdk by AdoptOpenJDK and hostspot-vm

brew tap AdoptOpenJDK/openjdk
brew search adoptopenjdk

# // Force install JDK 16
brew install --cask adoptopenjdk16
java -version
brew install --cask visual-studio-code
## Update default settings to my custom settings
cd /Users/si/Library/Application\ Support/Code/User/ && curl -O https://raw.githubusercontent.com/prafaelo/setup-my-mac/main/vscode/settings.json
## From https://formulae.brew.sh/formula/python@3.11
brew install python@3.11
## Also https://docs.brew.sh/Homebrew-and-Python#python-3y
python3 -m pip install --upgrade setuptools # https://pypi.org/project/setuptools/
python3 -m pip install --upgrade pip        # https://pip.pypa.io/en/stable/
## Python Packages

pip3 install numpy       # scientific computing: https://numpy.org/
pip3 install matplotlib  # draft data plots: https://matplotlib.org/
pip3 install pandas      # data manipulation: https://pandas.pydata.org

pip3 list

About

🍎 Commands to automatically configure my mac when I reset the OS x

Resources

License

Stars

Watchers

Forks

Packages

No packages published