TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Setting up a new Mac for development

55 pointsby altryne1over 11 years ago

14 comments

mellamoyoover 11 years ago
&gt; curl -s <a href="http://getmacapps.com/raw/6bl" rel="nofollow">http:&#x2F;&#x2F;getmacapps.com&#x2F;raw&#x2F;6bl</a> | sh<p>&gt; ruby -e &quot;$(curl -fsSL <a href="https://raw.github.com/mxcl/homebrew/go)&quot;" rel="nofollow">https:&#x2F;&#x2F;raw.github.com&#x2F;mxcl&#x2F;homebrew&#x2F;go)&quot;</a><p>Please stop doing this. I looked at the script and I know it looks fine but piping a raw curl into a shell interpreter is just a bad practice. Unfortunately, it seems to be more and more common as time goes on.
评论 #6628324 未加载
评论 #6628620 未加载
评论 #6628721 未加载
评论 #6628525 未加载
评论 #6627675 未加载
评论 #6627787 未加载
评论 #6628127 未加载
评论 #6628042 未加载
jaredsover 11 years ago
Somewhat related, I’m looking at getting my first MacBook for basic computer usage and iPhone programming. I’m trying to figure out what model to get but since I am totally blind the retina display is a non-factor and a larger screen is a negative due to reduced portability. I was planning on buying an 11.6 inch Air. With the price drop on the pro my choice is no longer so clear cut. For $1449 I can get an Air with 256 GB of storage, a 1.7 GHZ processor that boosts up to 3.3 GHZ, and 8 gigs of ram for $1449. I can get a 13 inch MacBook Pro with 256 GB of storage, a 2.4 GHZ processor that boosts up to 2.9 GHZ and 8 GB of ram for $1499. Both machines claim 9 hours of battery life. Will the extra speed on the duel core with the reduced turbo boost provide enough of a noticeable performance boost to make it worth the Extra weight and size.
评论 #6627819 未加载
评论 #6627954 未加载
评论 #6627837 未加载
评论 #6627856 未加载
liquidiseover 11 years ago
I am amazed someone has found the <i>definitive</i> mac setup. Here i thought CLI guys are still debating the merits of vim vs emacs. I guess i&#x27;ll file this away under &quot;presumptuous&quot;.
评论 #6628375 未加载
qinguover 11 years ago
I just got my first mac for development and followed this guide:<p><a href="https://github.com/nicolashery/mac-dev-setup" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nicolashery&#x2F;mac-dev-setup</a>
评论 #6627786 未加载
bowlofpetuniasover 11 years ago
However much fun it is to beat an unwilling commercial OS into submission, this is 2013. No need to mess around with homebrew and MAMP.<p>Your new Mac is powerful enough to run multiple Vagrant boxes simultaneously, with all the tools you need and a near perfect simulation of your target platform.<p>Use some good provisioning software (Ansible is awesome) to manage them, and you&#x27;re set. All you have to do for OSX is pick your favorite IDE.<p>Or alternatively, don&#x27;t use OSX (or Windows), and get a machine that runs Linux so you can have everything just the way you want&#x2F;need it.<p>Everything else is just hobbyism, and as fun and educational as it may be, I&#x27;m wary of developers that waste time on their primary development tools. Sooner or later it becomes a horrible mess.<p>I&#x27;ve always been in favor of letting devs use any tool they like, but developers wasting days on getting version X of package Y to run on their Windows &#x2F; OSX box when everyone else just does &quot;apt-get upgrade&quot; on their (virtual) machine doesn&#x27;t fill me with confidence in their ability to solve problems effectively.
评论 #6629039 未加载
评论 #6674352 未加载
batbombover 11 years ago
On topic: Apple&#x27;s support for command line utilities and the whole GPL v3 thing is becoming a serious issue.<p>Bash is 6 years old on the Mac. For the most part, bash 3.2 is fine, but it&#x27;s at the point where I have to work with other people&#x27;s bash 4.x scripts locally that no longer work. If this sorry state of command line utilities support from apple keeps up, I&#x27;m going to have to switch back to Linux soon.<p>A bit more on this, I actually just asked a question on stackoverflow ( <a href="http://stackoverflow.com/questions/19642059/proper-way-to-install-bash-4-2-on-os-x-10-9-mavericks-from-source-without-getti" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;19642059&#x2F;proper-way-to-in...</a> ) about installing bash 4.2 on Mavericks because it hasn&#x27;t been working so far. If anyone has any insight on this, I&#x27;d greatly appreciate it.
评论 #6628740 未加载
sazpazover 11 years ago
Just got my first Mac and I&#x27;ve been looking for this type of articles and general articles for people power users switching to OSX from Windows. While not a definitive guide this one has some good stuff. I was surprised by how few articles there are on this topic.<p>One of goodies I found around: <a href="http://carpeaqua.com/2012/10/15/my-ultimate-developer-and-power-users-tool-list-for-mac-os-x-2012-edition-/" rel="nofollow">http:&#x2F;&#x2F;carpeaqua.com&#x2F;2012&#x2F;10&#x2F;15&#x2F;my-ultimate-developer-and-po...</a>
ChikkaChiChiover 11 years ago
I prefer vagrant to MAMP. Brew is not must-have and you can end up chasing a lot of minor issues it creates. I&#x27;ve also moved to using git for preference sync because I&#x27;m uncomfortable with the chattiness of the Dropbox app recently.<p>This is less a definitive guide and more a list of some useful tools you like. :)
评论 #6629071 未加载
评论 #6629080 未加载
jpttsnover 11 years ago
Great work. That said, the guide mixes personal preferences eg. using Chrome and Alfred with things that are indubitably essentials like git, making &quot;definitive&quot; a stretch. Perhaps this could be separated into sections?
评论 #6628392 未加载
udfalksoover 11 years ago
Install Parallels, run Ubuntu and then ssh to it from the OSX terminal. No more headaches. Everything just works. The sooner you make this move, the better. I wish I had done it years ago.
评论 #6628707 未加载
capkutayover 11 years ago
I&#x27;m surprised there&#x27;s no mention of macports...by the way, did anyone else download mavericks to see that macports is broken?
评论 #6628609 未加载
etepover 11 years ago
why brew in favor of port (macports)? any particular reason -- just curious.
评论 #6628461 未加载
评论 #6628430 未加载
评论 #6628225 未加载
jnolandover 11 years ago
Going to install OSX Mavericks soon and use this guide. Thanks for the tips.
评论 #6628111 未加载
dklover 11 years ago
git comes with either Mac OS X 10.9 or Xcode, as it was installed in &#x2F;usr&#x2F;bin&#x2F; before I went to install it from Macports.