<commit_before>---
layout: default
title: Install OS X
---

# Install OS X

OS X 10.7 - 10.9 is currently supported via Homebrew.

## Automatic

 1. Run installer script

    ``` console
    $ bash -c "$(curl -fsSL https://raw.github.com/rockstack/utils/master/install)"
    ```

 1. Install whatever runtimes you'll need

    ``` console
    $ brew install rock-runtime-node010
    ```

## Manual

 1. Ensure [XCode][xcode] and the Command Line Tools are installed

 1. Ensure [Homebrew][homebrew] is installed

    ``` console
    $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
    ```

 1. Ensure Homebrew is up-to-date

    ``` console
    $ brew update
    ```

 1. Ensure Homebrew dupes is installed

    ``` console
    $ brew tap homebrew/dupes
    ```

 1. Add RockStack tap

    ``` console
    $ brew tap rockstack/rock
    ```

 1. Optionally install berkeley-db now to avoid Java prompts

    ``` console
    $ brew install berkeley-db --without-java
    ```

 1. Install rock command line tool

    ``` console
    $ brew install rock-cli
    ```

 1. And install whatever runtimes you'll need

    ``` console
    $ brew install rock-runtime-node010
    ```

[xcode]: http://itunes.apple.com/us/app/xcode/id497799835
[homebrew]: https://brew.sh<commit_msg>Don't install berkeley-db on osx anymore<commit_after>---
layout: default
title: Install OS X
---

# Install OS X

OS X 10.7 - 10.9 is currently supported via Homebrew.

## Automatic

 1. Run installer script

    ``` console
    $ bash -c "$(curl -fsSL https://raw.github.com/rockstack/utils/master/install)"
    ```

 1. Install whatever runtimes you'll need

    ``` console
    $ brew install rock-runtime-node010
    ```

## Manual

 1. Ensure [XCode][xcode] and the Command Line Tools are installed

 1. Ensure [Homebrew][homebrew] is installed

    ``` console
    $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
    ```

 1. Ensure Homebrew is up-to-date

    ``` console
    $ brew update
    ```

 1. Ensure Homebrew dupes is installed

    ``` console
    $ brew tap homebrew/dupes
    ```

 1. Add RockStack tap

    ``` console
    $ brew tap rockstack/rock
    ```

 1. Install rock command line tool

    ``` console
    $ brew install rock-cli
    ```

 1. And install whatever runtimes you'll need

    ``` console
    $ brew install rock-runtime-node010
    ```

[xcode]: http://itunes.apple.com/us/app/xcode/id497799835
[homebrew]: https://brew.sh
{'fraction_non_alphanumeric': 0.1305578011317704, 'fraction_numerical': 0.02465642683912692, 'mean_word_length': 2.5509325681492108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3170700', 'n_tokens_mistral': 851, 'n_tokens_neox': 753, 'n_words': 244}