Setting up your mac for web development

After some searching i found iTerm2 which covers all the features I was used to with my previous terminals tilix on Linux, cmder on Windows. You can download it from its official page or, use homebrew that we previously installed :. After the install there are countless things you can tinker on this app but with some more steps we will get a lot more. There are various pros to this move like better auto-completion and command history. Zsh comes installed on MacOS but it is better to install its latest version so, type this on your terminal. Now we can either live with just the zsh or we can install a framework that will bring along many new plugins and themes for our shell.

There are various choices here but the one I got in the end is oh my zsh. To install it just type :. Now we can enable whichever plugin we want from the various that the framework brings along or new ones found online. To enable the plugins you like, you have to edit your. There you must find the plugins array and add the ones that you want.

Lastly, we should install a preferred theme for iTerm2. Just download the preferred one and apply it through the Preferences page of iTerm2. Brew up your Dev stack. Now that we have our terminal set up, we can start installing all the required applications.

Most of the work below can either be done through Homebrew or by downloading everything from their respective websites. Simply change variables as necessary. I'm a front end web developer, and most of the software I install will pertain to that. I still have much to learn, but this process will setup my Mac to run Git , Jekyll , Gulp , Sass , an Apache server, and more. I've included all the commands from this article without any of the explanation on a GitHub readme.

Feel free to fork, modify, and keep for your own future records. The Setup Assistant will launch once you turn the computer on. Here you'll enter your language, time zone, Apple ID, and so on. I choose not to use "Migration Assistant", and set up my computer from scratch. The first thing you should do is update macOS to get the latest security updates and patches.

If you're setting up for the first time, you'll have to install App Store software through the App Store itself, but if you've installed them before, you'll be able to use Homebrew, Cask, and Mas to install all your programs from the command line. Install the Homebrew package manager. This will allow you to install almost any app from the command line. In previous versions, you'd have to install XCode or Command Line Tools before using this, but that step is no longer necessary.

Now I'll create a file called Brewfile in my main directory, which will list all the programs I want on the computer, and install them in a bundle. Create the file.

  • open office publisher download mac?
  • The Editors.
  • mac dre andre nickatina my homeboys chevy?
  • c6180 driver for mac os.

You can edit the file with TextEdit, or by typing nano Brewfile. Here are all the programs I intend to install with a brief description. You can choose to add or subtract any programs you'd like. They're all free. Note: I no longer use f.

Install software

Below are the entire contents of my Brewfile , which will install all the above programs with a single command. Now that we have all our programs installed and Homebrew all nice and new, we should create a simple script to keep Homebrew up to date. I found this handy command on this Best of Homebrew gist. Now you can run brewup to update, upgrade, prune, cleanup, and doctor Homebrew. It also has the full color palette for ansi escapes and other ansi features, though I realize they aren't crucial.

These always worked fine with Terminal.

How To Setup Your MacBook For Web Development

Go to Terminal. Now paste. Repeat the same experiment with iTerm 2 although you may need some custom setting for this one. There are different results: iTerm 2 will copy the text that you selected, while Terminal. The idea is that the only time you select text in the terminal with your mouse is to copy it. It's very nice IMO. Terminal will paste it using middle-click like most xterm derivatives or Shift-Command-V.

I read these steps—which I performed for years over the space of a few machines—and am amazed at how janky the tooling is. I am not an expert by any means but isnt Docker just good enough for this case as well? The benefit of WSL is that it doesnt consume more memory than it needs to has been my experience. I am not entirely sure of the memory consumption of Docker. Docker is nowhere near as close to the metal as what Microsoft has done with WSL2—it's got better performance and runs as near-native as you could possibly get. AlexeyBrin 44 days ago.

Chrome has better devtools. Personally I use Firefox on my MacBook for slightly better battery life and the tools are good enough for the most part. I feel like all of this and more should have been mentioned in the article. It's surprising that Safari wasn't even mentioned when it has clear benefits in some cases coming from someone who hates Safari.

How is chrome devtools better? They seem to offer the exact same things imo. Except Hyper for terminal emulation. The built-in terminal is likely far kore popular.

How to Set up an Apple Mac for Software Development - Field Notes

Last time I checked I'm running firefox ESR right now so maybe it's gotten better recently Chrome's dev tools were way better than the ones from mozilla. The same kind of thinking that led to IE6-only websites. My boss says that's the world we're about to repeat. IE6 had a number of serious bugs and idiosyncratic behaviors that went unpatched until its demise. Chrome has continuous releases and often implements new web standards before other vendors.

FanaHOVA 44 days ago. Why bother with nvm when you already have homebrew?