Contents
Setting up your development environment correctly is crucial for productivity and efficiency in web development. This comprehensive guide will walk you through setting up your MacBook with all the essential tools and configurations needed for modern web development. Whether you’re a beginner or an experienced developer, these recommendations will help you create a robust development environment.
List of essentials tools
iTerm2
I highly recommend to install iterm2 which is an alternative to Mac’s default terminal.
Few settings which I find very useful
a) New Session from previous let off: iTerm Preferences → Profiles → select your profile → General tab → Working Directory section → Reuse previous session’s directory option
b) Increase window size: iTerm Preferences → Profiles → select your profile → Window tab → Settings for New Windows → Increase values of Columns (140) and Rows (40)
c) Increase scrollback limit: iTerm Preferences → Profiles → select your profile → Terminal tab → Scrollback lines → Increase the value to say 2000
d) Open files in VS Code: iTerm Preferences → Profiles → select your profile → Advanced → Semantic History → Open with editor → VS Code
Git
- Follow steps from Getting Started - Installing Git
- validate with
git --version
Essential Git configuration:
|
|
nvm & Nodejs
Use the following cURL or Wget command:
|
|
After installation, install the latest LTS version:
|
|
I have written a detailed blog ‘Use NVM and .nvmrc for a better Javascript development’
zsh & oh-my-zsh
- Install oh-my-zsh now
- validate using
echo $SHELL
should print/bin/zsh
As of MacOS 10.15, zsh
is the default over bash
Recommended plugins:
- zsh-autosuggestions
- zsh-syntax-highlighting
- git
- docker
- node
- npm
VS Code
- Refer Installation
- Drag into your Applications folder before launching
- Launching from the command line
- run
code .
from a project directory to launch
Google Chrome, Arc Browserr & Firefox
- Google Chrome is the defacto browser now for development. React Devtools is a very useful add-on
- Firefox defacto number two browser
- Arc Browser is a browser that is fast, secure, and private. It is a good alternative to Google Chrome.
A Soft Murmur
- A Soft Murmur Stream ambient sounds which helps relax & focus.
Conclusion
You are all set up with your development setup. Enjoy the programming journey !
✨ Thank you for reading! If you found this guide helpful, please share it with others. Your feedback and suggestions are always welcome in the comments section.