Ios Environment Setup

It's important to get your system setup and working well. There are a ton of different ways to customize your system, but to keep things simple, and to make it easy for others to work with you, we're going to set our computers up in a similar way. Go through the instructions in readme and the files in this repo and follow the instructions.


BUT I THOUGHT THIS WAS IOS. While Objective-C is amazing for making iOS/OS X apps. A lot of the tools we use to create iOS apps (except XCode) is written in Ruby. So let's install ruby and tool to manage ruby called RVM. There is an AMAZING tutorial called install Rails that will walk you through everything. Stop once it gets into installing rails.

Bash Profile

As you've been learning, your bash_profile is a script that runs every time you open or login to your shell. It can configure environment variables, like your PS1, which stores your prompt, or EDITOR, which is the command other programs will use when they need to launch your default editor.

You can also create aliases for common commands so that they are shorter to use.

And finally, you can also build functions to simplify common workflows.

Flatiron Bash Profile

Within that Bash Profile are comments that explain each part. Make sure to read them! You can always comment sections in/out to see what they do and how they effect your prompt, shell, and environment. To create this bash_profile locally, simply navigate into your home directory (cd ~) and touch .bash_profile or if it exists already (ls -a and scan the output to see if there is a file .bash_profile - open .bash_profile). Copy the raw text from the Flatiron Bash Profile into your bash_profile and save.

Just remember, to activate a change in the dotfile, you must reload your shell. You can do that via opening a new tab.


Cocoapods is a library management system. If you are on Mavericks you should be able to install by just doing:

gem install cocoapods


We spend most of our time in a text editor. Make sure you have a good one. We use SublimeText3. Once you have that installed, go to the ([] file in this repository and follow the instructions to get sublime setup properly.

Test Learn submitter

First things first you need to edit/create a file called .netrc in your home (~) directory. So make the file (including the dot!) and put the following into it. You can get your github user id number here

machine flatiron-push

Second, in here there is a script called Go ahead and download it or if you cloned this repo it should be available to you. Run this script in a bit of a special way like this /bin/bash --login ./ replace ./ with wherever the installer is located. It will ask for a password. Just type in your user password and everything should take care of itself!

Check Up


Make sure when you open a new terminal your output looks something like:

Last login: Tue Jun  4 22:43:49 on ttys006
[22:44:08] ~

If you see some bash - command not found type output, it's not a big deal, but let a TA know.


pod --version should give you a number. Hopefully 0.33.1.

Git Updates

git branch autocompletion

Autocompletion (pressing tab to autocomplete the name of something) is amazing. You can autocomplete your git branch names through homebrew very easily. Just run:

brew install bash-completion

Make sure your .bash_profile has this somewhere:

if [ -f $(brew --prefix)/etc/bash_completion ]; then
  . $(brew --prefix)/etc/bash_completion


Grab the Flatiron GitConfig and create it as .gitconfig in your ~. Also, don't forget to replace the values in some of the person variables like excludesfile = /Users/<YOUR HOME DIRECTORY>/.gitignore and:

Pay attention to the cool aliases setup in the git config, like git co for git checkout and git st for git status.

  user = <github username>
  token = <API token> #
  email = <github email address>


Read Github GitIgnore Guide, so you understand what a global gitignore will do and then grab the Flatiron GitIgnore and create it in ~ as .gitignore.

What Next?

Check out the other documents in the repo! In particular make sure you have:

  • Setup Sublime
  • Set up a blog

View Environment Setup on and start learning to code for free.

Unlock your future in tech
Learn to code.

Learn about Flatiron School's Mission

With a new take on education that falls somewhere between self-taught prodigy and four-year computer science degree, the Flatiron School promises to turn students with little programming experience into developers.

In the six months since the Manhattan coding school was acquired by WeWork, it has spawned locations in Washington, D.C., Brooklyn, and London. Now, WeWork is opening a fourth Flatiron School location, this time in Houston.

Adam Enbar, Flatiron School's cofounder, believes now is the time to grow. "How the world is changing has impacted working and learning in very similar ways. We think education fundamentally is about one thing: enabling people to pursue a better life."

Learn. Love. Code.
Students come to Flatiron School to change their lives. Join our driven community of career-changers and master the skills you need to become a software engineer or a data scientist.
Find Us