Provision a new OSX machine with dev tools.
This is not a dotfiles configuration repository, nor it is a recipe repository. It is just a simple set of commands and tools to set up a developer's/non-developer machine. Its aim is to reduce the initial time of installing tools and apps on a new machine.
A prerequisite is having a GitHub account. It's recommended to generate ssh keys for each new machine as described in Generating a new SSH key and adding it to the ssh-agent.
Clone this project in a location of your choosing:
cd ~/Documents
git clone [email protected]:clippings/provision-osx.gitАccording to the type of operating system, run the ./developer.sh or ./developer-m1.sh or ./non-developer.sh or ./non-developer-m1.sh file to install Homebrew if it's not installed, update it, install brew bundle and run it with [Developer.bundle or Developer-m1.bundle][Non-Developer.bundle].
Note: You are encouraged to read through the [Developer.bundle or Developer-m1.bundle ][Non-Developer.bundle] and remove things you don't need, don't want, have them installed another way or have better alternatives for.
cd provision-osx
./developer.sh or
./developer-m1.sh or
./non-developer.sh or
./non-developer-m1.shNote: After the installation of ./developer.sh script, Composer will be installed at ~/bin. You need to add it to your PATH with:
echo "PATH=$PATH:$HOME/bin" >> ~/.bash_profileor change $HOME/bin to a different folder that doesn't require sudo.
Note: On M1 machine, Composer will be installed and moved on /usr/local/bin
You should really read the [Developer.bundle or Developer-m1.bundle][Non-Developer.bundle] and check the latest version of it and what it would install.
As an overview it installs:
- CLI tools like GNU coreutils, findutils, latest Bash 4, Bash tab completions
- Latest versions of Git, wget, cURL, OpenSSL
- Image tools like Imagick, optipng, jpegoptim
- Browsers: Google Chrome and Firefox
- Latest versions of Python, Node & npm, PHP and rbenv for Ruby
- Text editors like Vim, Neovim, Atom, Sublime Text. You are free to remove the ones you won't use.
- Vagrant & Virtualbox for virtualisation.
- Communication and design tools - e.g. Slack and Sketch.
- Source Code Pro font
To update just run the following command:
brew update && brew upgrade