Skip to content

MacOS setup

Leo Leung edited this page Aug 28, 2024 · 10 revisions

Please follow this guide. Make sure conda is arm64 with conda info. Also, use

conda install -c apple tensorflow-deps
python3 -m pip install tensorflow-macos tensorflow-metal

Storage Optimisation

  • ~/Library
  • ~/Documents
  • Clean up brew packages by
    brew info {package} # find location and details
    brew list
    brew cleanup
    
  • Rank file size by
    du -h -d 1 | sort -h
    
  • Reduce docker Virtual disk limit (This contributes a lot to system data)
  • Clean up cache files in projects.
    find . | grep -E "(/__pycache__$|\.pyc$|\.pyo$|\.terraform$)" | xargs rm -rf
    

Windows management

  • Install rectangle!
    brew install --cask rectangle
    
Clone this wiki locally