Skip to content

Instantly share code, notes, and snippets.

@guidoism
Last active December 23, 2020 22:14
Show Gist options
  • Save guidoism/94f8825a2ef65647643a5f452dedfd74 to your computer and use it in GitHub Desktop.
Save guidoism/94f8825a2ef65647643a5f452dedfd74 to your computer and use it in GitHub Desktop.
Setup new Mac
# References:
# https://opensource.com/article/19/6/python-virtual-environments-mac
# Get the basic dev tools
xcode-select --install
# Get Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Get pyenv to manage different python versions
brew install pyenv
# Always run pyenv
echo 'eval "$(pyenv init -)"' >> .zshrc
# Apparently if you don't do this pyenv will puke sometimes
brew install zlib sqlite
export LDFLAGS="-L/usr/local/opt/zlib/lib -L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include -I/usr/local/opt/sqlite/include"
pyenv install 3.9.0
# Need to figure out what this does
pyenv global 3.9.0
$(pyenv which python3) -m pip install virtualenvwrapper
echo 'export WORKON_HOME=~/.virtualenvs' >> .zshrc
echo 'mkdir -p $WORKON_HOME' >> .zshrc
echo '. ~/.pyenv/versions/3.7.3/bin/virtualenvwrapper.sh' >> .zshrc
chromium
cool-retro-term
crosspack-avr
docker
emacs
gtkwave
java
miniconda
xquartz
ack
aha
aom
aria2
arm-gcc-bin@8
atk
autoconf
automake
avr-binutils
avr-gcc@7
avr-gcc@8
avrdude
bat
bdw-gc
boost
boost-python3
bootloadhid
c-ares
cairo
cairomm
cairomm@1.14
capnp
carthage
cfitsio
cgal
clang-format
cliclick
cloc
cmake
coreutils
cweb
dav1d
dfu-programmer
dfu-util
djview4
djvu2pdf
djvulibre
docbook
docbook-xsl
docker
docker-compose
docker-machine
docker-machine-driver-xhyve
dtc
eigen
emacs-plus@27
epsilon
exa
exiftool
expat
ffmpeg
flac
fontconfig
fontforge
freetype
freexl
frei0r
fribidi
gcc
gcc-arm-none-eabi
gdal
gdbm
gdk-pixbuf
geos
gettext
ghostscript
giflib
git
glances
glib
gmp
gnu-getopt
gnu-sed
gnu-typist
gnutls
gobject-introspection
google-sparsehash
graph-tool
graphite2
gsettings-desktop-schemas
gtk+3
guile
handbrake
harfbuzz
hayai
hdf5
hicolor-icon-theme
highlight
httpie
icarus-verilog
icon
icu4c
ilmbase
imagemagick
imagemagick@6
ipython
isl
jansson
jasper
jbig2enc
jemalloc
jpeg
json-c
krb5
lame
leptonica
libass
libbluray
libcroco
libdap
libde265
libdvdcss
libelf
libepoxy
libev
libevent
libffi
libftdi0
libgeotiff
libgpg-error
libheif
libhid
libidn2
libksba
liblqr
libmpc
libogg
libomp
libpng
libpq
librsvg
librttopo
libsamplerate
libsigc++
libsigc++@2
libsndfile
libsodium
libsoxr
libspatialite
libspiro
libssh
libssh2
libtasn1
libtiff
libtool
libuninameslist
libunistring
libusb
libusb-compat
libvidstab
libvorbis
libvpx
libxml2
libyaml
little-cms2
lua
lzo
mad
mas
memtester
minizip
mmix
mpfr
ncurses
netcdf
nettle
nghttp2
node
noweb
nspr
nss
numpy
ocrmypdf
openblas
opencore-amr
openexr
openjdk
openjpeg
openssl@1.1
opus
opusfile
p11-kit
p7zip
pandoc
pango
pcre
pcre2
pixman
pkg-config
pngquant
poppler
popt
postgis
postgresql
proj
protobuf
protobuf-c
py2cairo
py3cairo
pybind11
pygobject3
python36
python@2
python@3.6
python@3.8
python@3.9
qemu
qmk
qpdf
qt
radare2
rav1e
readline
ripgrep
riscv-gnu-toolchain
riscv-isa-sim
riscv-pk
riscv-tools
rtmpdump
rubberband
s3cmd
sbt
scipy
sdl2
sfcgal
shared-mime-info
snappy
sox
spatialindex
speex
sqlite
srt
svgo
szip
teensy_loader_cli
tesseract
texinfo
theora
transmission-cli
unbound
unixodbc
unpaper
unrar
vde
verilator
webp
wget
x264
x265
xerces-c
xmlto
xvid
xz
yarn
yasm
yosys
youtube-dl
zeromq
zlib
zstd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment