mirror of
https://github.com/kremalicious/dotfiles.git
synced 2025-01-18 16:46:29 +01:00
28 lines
741 B
Bash
Executable File
28 lines
741 B
Bash
Executable File
#!/bin/bash
|
||
|
||
# Install Homebrew
|
||
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
|
||
|
||
# Make sure we’re using the latest Homebrew
|
||
brew update
|
||
|
||
# Upgrade any already-installed formulae
|
||
brew upgrade
|
||
|
||
# Install what we need
|
||
brew install git
|
||
brew install node
|
||
brew install wget
|
||
brew install gpg2
|
||
brew install mysql
|
||
brew install imagemagick
|
||
brew install GraphicsMagick
|
||
brew install android
|
||
|
||
# fix for failing 'npm update' with brew installed node
|
||
# reference: https://github.com/Homebrew/homebrew/issues/22408#issuecomment-30812725
|
||
for man in 1 3 5 7; do
|
||
ln -sf /usr/local/lib/node_modules/npm/man/man${man}/* /usr/local/share/man/man${man}
|
||
done
|
||
|
||
ln -sf /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm |