Web Development - Training - Miscellaneous Setup and Tips / Tricks (OS X)

Tips and Tricks for developing on Mac OS X, as well as additional things you may want to install as part of your development environment.

These are some tips and tricks for developing on Mac OS X. You may need to run some of these commands or use some of these tricks when setting up your development environment.

Testing in Safari

If you test in Safari, activate the Developer Menu by going to Safari > Preferences > Advanced > Show Develop Menu.

XCode Developer Tools

You may need to install the developer tools included with XCode by default (such as git). You can install these by running the following command:
xcode-select --install

Basic Git Configuration

Here are some basic configuration items you can setup for Git when using command line:
git config --global user.name "Your Name"
git config --global user.email "epantherid@uwm.edu"
git config --global core.editor "COMMAND"

Command can be replaced with the editor of your choice. If you aren't familiar with command line / vi / vim - I'd recommend nano.

Enable Hidden Files

On Mac OS X, hidden files like .htaccess are hidden by default in Finder. You can easily enable and disable it by running the following command in Terminal:
defaults write com.apple.finder AppleShowAllFiles YES && killall Finder

Hidden files may not show up in other programs "Open..." dialogs, but you can toggle those by pressing Command + Shift + .


Keywords:safari, developer, xcode, git, configuration, "hidden files", mac   Doc ID:48461
Owner:Christopher M.Group:UW-Milwaukee Student Affairs IT
Created:2015-03-05 18:00 CDTUpdated:2018-03-22 11:57 CDT
Sites:UW-Milwaukee Student Affairs IT
Feedback:  0   0