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!
First thing you need to do, on any OS actually, is update the system! For that: Apple Icon > Software Update...
- Cleaning the dock
- Show File Name Extensions in Mac OS X
- Show Hidden Files in Mac OS X
- Mac keyboard shortcuts](http://support.apple.com/kb/ht1343)
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.
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
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
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
Google Chrome, no need to present it.
$ brew cask install google-chrome
- synch your account
- install some extension
- AdBlock, with my configuration
@@||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"]
- uMatrix
- Wappalyzer
- The Great Suspender
- Postman
- JSON Formatter
- Giphy for Chrome
- Ghostery
- Cookies
- Full Page Screen Capture
And all of yours ;)
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
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.
ssh-copy-id ...
$ brew install ssh-copy-id
SourceTree is a free Mercurial and Git Client that provides a graphical interface for your Hg and Git repositories.
$ brew cask install sourcetree
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/
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
KeePassX is a free, open source, and light-weight password management utility.
$ brew cask install keepassx
f.lux is free software that warms up your computer display at night, to match your indoor lighting.
$ brew cask install flux
$ brew install heroku-toolbelt
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
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
Dash provides fast, offline access to documentation of pretty much everything: programming languages, frameworks, and libraries.
$ brew cask install dash
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
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
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
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
Cyberduck Libre FTP, SFTP, WebDAV, S3, Backblaze B2, Azure & OpenStack Swift browser.
$ brew cask install cyberduck
Sequel Pro is a fast, easy-to-use database management application for working with MySQL/MariaDB databases.
$ brew cask install sequel-pro
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
Java Standard Edition Development Kit is required to run Java applications.
$ brew cask install java
ClipMenu can manage clipboard history. You can record 8 clipboard types, from plain text to image.
$ brew cask install clipmenu
Dropbox store, sync, and share files (documents, photos, videos, etc.) securely. Ideal for quick devs.
$ brew cask install dropbox
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
N1 is an extensible desktop mail app built on the modern web.
$ brew cask install nylas-n1
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
PhpStorm is perfect for working with Symfony, Drupal, WordPress, Zend Framework, Laravel, Magento, Joomla!, CakePHP, Yii, and other frameworks..
brew cask install phpstorm
SSHFS is File system client based on SSH File Transfer Protocol.
brew cask install sshfs
htop, improved top (interactive process viewer) for macOS.
brew install htop-osx
ImageMagick is a tools and libraries to manipulate images in many formats.
brew install imagemagick
Certbot is a tool to obtain certs from Let's Encrypt and autoenable HTTPS.
brew install certbot
Composer is a Dependency Manager for PHP.
brew install homebrew/php/composer
Composer-completion is a bash completion for Composer.
brew install homebrew/completions/composer-completion
Php-code-sniffer check coding standards in PHP, JavaScript and CSS.
brew install homebrew/php/php-code-sniffer
Phpmd stand for PHP Mess Detector.
brew install homebrew/php/phpmd
PHP-CS-Fixer is a tool to automatically fix PHP coding standards issues.
brew install homebrew/php/php-cs-fixer
Mou a markdown editor.
brew cask install mou
Mysql is an open source relational database management system.
brew install mysql
FileZilla a FTP client.
brew cask install filezilla
Istat-menus is an advanced Mac system monitor for your menubar.
brew cask install istat-menus
Git-Flow extensions to follow Vincent Driessen's branching model.
brew install git-flow
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