Setting up macOS 10.15+ for web development
Mac computers comes with macOS as default, being from Unix family, it is a great OS for software development.
This post is about setting up your macOS computer to be used as a web development environment.
Be aware that basic macOS skills is required, we will be using mostly Terminal application to perform the system update.
We will be installing Free or Open Source tools.
Install Homebrew
To start things off we will install Homebrew package manager, Homebrew makes very simple to install packages on macOS.
Now we can open Terminal and insert command below
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install PHP
When Homebrew installation is complete. We can continue with installing Homebrew packages.
As instructed in the PHP manual
Insert command below into Terminal, this process might take hours to be completed.
brew install php
Install Git
Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.
Using a Version Control System is one of the best practices in software development, it allows us to save files and keep record of changes made over time.
brew install git
For those who'd prefer a git GUI, download Github Desktop or Tower
Install Node.js
Node.js can be installed via Homebrew, but it is recommended to do it with the macOS Installer.
Download the LTS version found on Node.js Downloads page.
Then follow with the package installation.
Install a Editor or IDE
Install a Browser
Install MySQL/MariaDB
Now we add a database server and client to our setup.
To install the server, insert command below into Terminal
brew install mariadb
And the client can be any of these options
Install Cyberduck
Download Cyberduck for remote file transfers, it supports FTP, SFTP, Cloud Storage and more...
Setup done.
That is it! After completing the install steps your Mac computer can be used to start web development.
Comments
Post a Comment