Setting up a basic dev environment for noobs
This is a tutorial for beginners on how to set up a dev environment on a Mac/OSX (since you'll probably be using one as the primary laptop for your job).
You'll probably want at least a text editor like [Sublime Text](https://www.sublimetext.com/). Install it, and then set up a `subl` keyword that you can use to launch Sublime from the terminal (eg. `subl filename.txt`)
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
Next, [install the package manager for Sublime](https://packagecontrol.io/installation).
Then you'll want to install a [nice dark theme](https://github.com/buymeasoda/soda-theme).
Download [iTerm2](https://www.iterm2.com/). It's much better than the Mac's stock terminal.
Fire it up and install [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) via the following command:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
This will make your terminal look prettier and give you some pretty sweet features like telling you what git branch you're on.
You should set up some aliases to save you some keystrokes. The following let's you type `git co <branchname>` instead of `git checkout <branchname>`:
git config --global alias.co checkout
Text Editor - Sublime Text
You'll probably want at least a text editor like [Sublime Text](https://www.sublimetext.com/). Install it, and then set up a `subl` keyword that you can use to launch Sublime from the terminal (eg. `subl filename.txt`)
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
Next, [install the package manager for Sublime](https://packagecontrol.io/installation).
Then you'll want to install a [nice dark theme](https://github.com/buymeasoda/soda-theme).
Terminal - iTerm, Oh My Zsh
Download [iTerm2](https://www.iterm2.com/). It's much better than the Mac's stock terminal.
Fire it up and install [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) via the following command:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
This will make your terminal look prettier and give you some pretty sweet features like telling you what git branch you're on.
git
You should set up some aliases to save you some keystrokes. The following let's you type `git co <branchname>` instead of `git checkout <branchname>`:
git config --global alias.co checkout
Comments
Post a Comment