Skip to content

mehdichaouch/osx-dev-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Developers, all you need to setup your Mac OS X

Gitter chat Analytics

After many years on a Dell XPS m1330, I decided to buy my first Mac and write this Mac OS X setup to help others dev like some other devs 1 2 =)

The document lists all the app I'm using or found interesting, and it assumes you are new to Mac. The environment will be not set up for a specific language and steps below were tested on OS X El Captain.

As you read and followed those steps, feel free to send me any feedback or comments you may have on Twitter!

Table of Contents

1 2 3 4 5
System update System preferences Monolingual Command Line Tools Google Chrome
Oh My Zsh Homebrew iTerm2 GIT SourceTree
Sublime Text 3 Google Drive KeePassX f.lux Heroku Toolbelt
Evernote Spectacle Dash XtraFinder Alfred 2
VLC The Unarchiver Cyberduck Sequel Pro Caffeine
JDK ClipMenu Dropbox Atom N1
Virtualbox + Vagrant PhpStorm SSHFS htop ImageMagick
Certbot Composer Composer-completion Php-code-sniffer Phpmd
PHP-CS-Fixer Mou Mysql FileZilla Istat-menus
Git-Flow

System update

First thing you need to do, on any OS actually, is update the system! For that: Apple Icon > Software Update...

⬆ back to top

System preferences

⬆ back to top

Command Line Tools

Since OS X 10.9 Mavericks, it's possible to install the Xcode Command Line Tools directly from the command line with :

$ xcode-select --install

No need to go through the download page and the survey as describe here.

⬆ back to top

Homebrew

Homebrew is the missing package manager for OS X. It's some kind of ports for Mac. As a developer, you should install it by flowing : http://brew.sh/

Open a new terminal tab with Cmd+T (you should also close the old one), then run the following command to make sure everything works:

$ brew doctor

⬆ back to top

Oh My Zsh

Oh My Zsh ZSH is a pretty powerful shell for *nix systems. As a developer, it just changed my life. I don't even know how I lived before using it. No, really, install it NOW: https://github.com/robbyrussell/oh-my-zsh

⬆ back to top

Monolingual

Monolingual is a program for removing unnecessary language resources from OS X, in order to reclaim several hundred megabytes of disk space. I save ~780 Mo B)

$ brew cask install monolingual

⬆ back to top

Google Chrome

Google Chrome, no need to present it.

$ brew cask install google-chrome
  • synch your account
  • install some extension
@@||www.advocodo.com/$document
@@||www.advocodo.fr/$document
@@||jiraicoderchezvous.com/$document
@@||jiraicoderchezvous.fr/$document
@@|http://korben.info/|$document
@@|http://mafreebox.freebox.fr/|$document
@@|http://www.6play.fr/m6/direct|$document
@@||www.poulpeo.com/$document
@@|https://magento.com/security/sign-up|$document
@@|https://stickers.notifuse.com/|$document
@@||www.wired.com/$document
@@||public-api.wordpress.com/$document
@@||fr.gravatar.com/$document
@@||mixmax.com/$document
www.blogger.com##SPAN[class="gb_yb"]
bonpatron.com##DIV[id="top"]
bonpatron.com##TD[id="topbanner"]
bonpatron.com##DIV[class="guidetoc"]
www.scribens.fr##DIV[id="Titre"][class="row main-Title"]
www.scribens.fr##HEADER[class="menu-header navbar-fixed-top"]
www.tousaurestaurant.com##DIV[class="logo_wrapper"]
www.silksoftware.com##HEADER[id="masthead"][class="site-header"]
www.coinwarz.com##IFRAME[src="https://refbanners.website/I?tag=d_29508m_1855c_&site=29508&ad=1855"]
www.coinwarz.com##IFRAME[id="takeoverRight"]
www.coinwarz.com##IFRAME[id="takeoverLeft"]

And all of yours ;)

⬆ back to top

iTerm2

iTerm2 is a replacement for Terminal and the successor to iTerm

$ brew cask install iterm2

For the config, follow https://github.com/nicolashery/mac-dev-setup#iterm2

http://ethanschoonover.com/solarized/files/solarized.zip

⬆ back to top

GIT

GIT doesn't need any presentation.

$ brew install git

https://github.com/nicolashery/mac-dev-setup#git

$ sudo mv /usr/bin/git /usr/bin/git-apple

Replace the local GIT with the one installed by brew 2.

⬆ back to top

ssh-copy-id

ssh-copy-id ...

$ brew install ssh-copy-id

⬆ back to top

SourceTree

SourceTree is a free Mercurial and Git Client that provides a graphical interface for your Hg and Git repositories.

$ brew cask install sourcetree

⬆ back to top

Sublime Text 3

Sublime Text 3 is a sophisticated text editor for code, markup and prose.

$ brew cask install sublime-text3

Conf: https://github.com/nicolashery/mac-dev-setup#sublime-text

$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/

⬆ back to top

Google Drive

Google Drive is a free way to keep your files backed up and easy to reach from any phone, tablet, or computer. Start with 15GB of Google storage.

$ brew cask info google-drive

⬆ back to top

KeePassX

KeePassX is a free, open source, and light-weight password management utility.

$ brew cask install keepassx

⬆ back to top

f.lux

f.lux is free software that warms up your computer display at night, to match your indoor lighting.

$ brew cask install flux

⬆ back to top

Heroku Toolbelt

Heroku Toolbelt

$ brew install heroku-toolbelt

⬆ back to top

Evernote

Evernote is designed for note taking, organizing, and archiving. The app allows users to create a "note" which can be a piece of formatted text, a full webpage or webpage excerpt, a photograph, a voice memo, or a handwritten "ink" note. Notes can also have file attachments. Notebooks can be added to a stack while notes can be sorted into a notebook, tagged, annotated, edited, given comments, searched, and exported as part of a notebook.

$ brew cask install evernote

⬆ back to top

Spectacle

Spectacle let you move and resize windows with ease. Window control with simple, customizable keyboard shortcuts. It works only with mouse.

$ brew cask install spectacle

⬆ back to top

Dash

Dash provides fast, offline access to documentation of pretty much everything: programming languages, frameworks, and libraries.

$ brew cask install dash

⬆ back to top

XtraFinder

XtraFinder adds lots of enhancements to Finder, such as a context menu with New Text File, New Terminal Here, Copy Path, and others.

$ brew cask install xtrafinder

⬆ back to top

Alfred 2

Alfred 2 is a productivity application for Mac OS X, which boosts your efficiency with hotkeys and keywords. Search your Mac and the web, and control your Mac using custom actions with the Powerpack.

$ brew cask install alfred

⬆ back to top

VLC

VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files, and various streaming protocols.

$ brew cask install vlc

⬆ back to top

The Unarchiver

The Unarchiver is a small and easy to use program that can unarchive many different kinds of archive files. It will open common formats such as Zip, RAR...

$ brew cask install the-unarchiver

⬆ back to top

Cyberduck

Cyberduck Libre FTP, SFTP, WebDAV, S3, Backblaze B2, Azure & OpenStack Swift browser.

$ brew cask install cyberduck

⬆ back to top

Sequel Pro

Sequel Pro is a fast, easy-to-use database management application for working with MySQL/MariaDB databases.

$ brew cask install sequel-pro

⬆ back to top

Caffeine

Caffeine is a tiny program that prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers.

$ brew cask install caffeine

⬆ back to top

JDK

Java Standard Edition Development Kit is required to run Java applications.

$ brew cask install java

⬆ back to top

ClipMenu

ClipMenu can manage clipboard history. You can record 8 clipboard types, from plain text to image.

$ brew cask install clipmenu

⬆ back to top

Dropbox

Dropbox store, sync, and share files (documents, photos, videos, etc.) securely. Ideal for quick devs.

$ brew cask install dropbox

⬆ back to top

Atom

Atom is a hackable text editor for the 21st century, built on Electron.

$ brew cask install atom

You will find all my favorite packages on my profile here. Quickest way to install all my stars package run this buddy:

$ apm install minimap atom-beautify linter file-icons pigments emmet git-plus highlight-line atom-autocomplete-php javascript-snippets open-recent livereload aligner-php symfony-snippets atom-symfony2 autoclose syfi

⬆ back to top

N1

N1 is an extensible desktop mail app built on the modern web.

$ brew cask install nylas-n1

⬆ back to top

Virtualbox + Vagrant

virtualbox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.

virtualbox-extension-pack Add new capabilities to VirtualBox with this extension pack.

vagrant enables users to create and configure lightweight, reproducible, and portable development environments.

brew cask install virtualbox virtualbox-extension-pack vagrant

after install run

vagrant plugin install vagrant-bindfs

⬆ back to top

PhpStorm

PhpStorm is perfect for working with Symfony, Drupal, WordPress, Zend Framework, Laravel, Magento, Joomla!, CakePHP, Yii, and other frameworks..

brew cask install phpstorm

⬆ back to top

SSHFS

SSHFS is File system client based on SSH File Transfer Protocol.

brew cask install sshfs

⬆ back to top

htop

htop, improved top (interactive process viewer) for macOS.

brew install htop-osx

⬆ back to top

ImageMagick

ImageMagick is a tools and libraries to manipulate images in many formats.

brew install imagemagick

⬆ back to top

Certbot

Certbot is a tool to obtain certs from Let's Encrypt and autoenable HTTPS.

brew install certbot

⬆ back to top

Composer

Composer is a Dependency Manager for PHP.

brew install homebrew/php/composer

⬆ back to top

Composer-completion

Composer-completion is a bash completion for Composer.

brew install homebrew/completions/composer-completion

⬆ back to top

Php-code-sniffer

Php-code-sniffer check coding standards in PHP, JavaScript and CSS.

brew install homebrew/php/php-code-sniffer

⬆ back to top

Phpmd

Phpmd stand for PHP Mess Detector.

brew install homebrew/php/phpmd

⬆ back to top

PHP-CS-Fixer

PHP-CS-Fixer is a tool to automatically fix PHP coding standards issues.

brew install homebrew/php/php-cs-fixer

⬆ back to top

Mou

Mou a markdown editor.

brew cask install mou

⬆ back to top

Mysql

Mysql is an open source relational database management system.

brew install mysql

⬆ back to top

FileZilla

FileZilla a FTP client.

brew cask install filezilla

⬆ back to top

Istat-menus

Istat-menus is an advanced Mac system monitor for your menubar.

brew cask install istat-menus

⬆ back to top

Git-Flow

Git-Flow extensions to follow Vincent Driessen's branching model.

brew install git-flow

⬆ back to top


1: https://github.com/nicolashery/mac-dev-setup

2: https://gist.github.com/jpantuso/1110217

3: http://apple.stackexchange.com/questions/93002/how-to-properly-update-git-on-mac/118128#118128

About

A README for developer with a Mac

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published