Menu
I have to set up a MacBook Pro fairly often - when starting a new job and when buying a new personal computer. I created this article back in 2015 when I got my first Mac and have been updating it ever since with whatever I need as my job evolves. I'm primarily a full-stack web developer, so most of my needs will revolve around JavaScript/Node.js.
- Macbook 12 For Web Development Tools
- Macbook 12 For Web Development Software
- Macbook 12 For Web Development Websites
- Macbook 12 For Web Development Tool
Getting Started
To prevent confusion, I left out any items that aren’t strictly required. If you’d like to dive deeper into optional ways you can further customize your Mac for web development, check out the links below. Further Reading. Setting up a Brand New Mac for Development by Tania Rascia; Setting up a MacBook for Front-End Development by Ben Honeywill. New macbook 12 inch is good enough for web development? Posted 3 years ago by hojjat. Hi im a php developer and wanna to buy a macbook but im worried about the new macbook 12inch (core-m5) anyone can help me about this? (im not very good at english,sorry ).
The setup assistant will launch once you turn the computer on. Enter your language, time zone, Apple ID, and so on. The first thing you should do is update macOS to get the latest security updates and patches.
Homebrew
Install the Homebrew package manager. This will allow you to install almost any app from the command line.
Make sure everything is up to date.
Install Apps
Here are some the programs I always install.
Don't install Node.js through Homebrew. Use nvm (below).
Program | Purpose |
---|---|
Visual Studio Code | text editor |
Google Chrome | web browser |
Firefox | web browser |
Opera | web browser |
Rectangle | window resizing |
iTerm2 | terminal |
Docker | development |
VLC Media Player | media player |
Slack | communication |
Keybase | security |
Spotify | music |
Postgres | database |
Postico | database UI |
Postman | API tool |
Shell
Catalina comes with zsh as the default shell. Install Oh My Zsh for sensible defaults.
Node.js
Use Node Version Manager (nvm) to install Node.js. This allows you to easily switch between Node versions, which is essential.
Install
Macbook 12 For Web Development Tools
Install the latest version.
Restart terminal and run the final command.
Confirm that you are using the latest version of Node and npm.
Update
For later, here's how to update nvm. Itools pro 1 7 1 download free.
Change version
Folx go 5 3 – manage and organize downloads software. Here's how to switch to another version and use it.
And to set the default:
Git
The first thing you should do with Git is set your global configuration.
Input your config and create some aliases.
With the above aliases, I can run
git s
instead of git status
, for example. The less I have to type, the happier I am.SSH
Simplify the process of SSHing into other boxes. Create an SSH config file.
Macbook 12 For Web Development Software
Add the following contents, changing the variables for any hosts that you connect to. Using the below will be the same as running
ssh -i ~/.ssh/key.pem [email protected]
..ssh/config
Now just run the alias to connect.
Generate SSH key
You can generate an SSH key to distribute.
Add key.
Settings
I don't like a lot of the Apple defaults so here are the things I always change.
To get the Home folder in the finder, press
CMD + SHIFT + H
and drag the home folder to the sidebar.General
- Set Dark mode
- Make Google Chrome default browser
Macbook 12 For Web Development Websites
Dock
- Automatically hide and show Dock
- Show indicators for open applications
Keyboard
- Key Repeat -> Fast
- Delay Until Repeat -> Short
- Disable 'Correct spelling automatically'
- Disable 'Capitalize words automatically'
- Disable 'Add period with double-space'
- Disable 'Use smart quotes and dashes'
Macbook 12 For Web Development Tool
Security and Privacy
- Allow apps downloaded from App Store and identified developers
- Turn FileVault On (makes sure SSD is securely encrypted)
- Turn Firewall On (extra security measure)
Sharing
- Change computer name
- Make sure all file sharing is disabled
Users & Groups
- Add 'Rectangle' to Login items
Defaults
Pixel film studios fcpx toolbox: volume 3 download free. A few more commands to change some defaults.
Application Settings
Chrome
- Turn off 'Warn before quitting'
- Install uBlock Origin
- Install React DevTools
- Install Redux DevTools
- Install JSONView
- Install DevTools Theme - New Moon
- Settings
- Set theme to 'Dark'
- Go to
chrome://flags
and set Developer Tools Experiments to 'Enabled' - Go to Experiments and select 'Allow custom UI themes'
Visual Studio Code
- Press
CMD + SHIFT + P
and click 'Install code command in PATH'. - Install Prettier
- Install New Moon Theme
- Install GitLens
- Install Highlight Matching Tag
- Keyboard Shortcuts
- Copy Line Down -
CMD + SHIFT + E
- Delete Line -
CMD + SHIFT + D
- Reload Window - Remove Development Mode from When
- Format Document -
CMD + SHIFT + L
- Copy Line Down -
Rectangle
- Full Screen:
CMD + SHIFT + '
(prevents messing with other commands) - Left Half:
CMD + OPTION + LEFT
- Right Half:
CMD + OPTION + RIGHT
iTerm2
- Set tab to open in same location
Conclusion
That sums it up for my current preferences on setting up a MacBook Pro. I hope it helped speed up your process or gave you ideas for the next time you're setting one up.