Apple Silicon and Shell Scripts

Apple Silicon and Shell Scripts

This is my story of setting up a new dev environment using shell scripts and Apple Silicon. I was skeptical to move on from Intel-based systems to an ARM-based system due to the lack to support for dev tools like Docker and Homebrew.

On November 10, Apple unveiled the latest iteration of MacBook Pro, Air, and Mac Mini with its in-home Apple Silicon M1 chip. Being a longtime Mac user and developer, I was skeptical to move on from Intel-based systems to an ARM-based system due to the lack to support for dev tools like Docker and Homebrew (more on this later). However, due to the technological limitations of my 2012 MBP, I got myself a new Mac that was much more capable than my previous machine.

Fast-forward two weeks, and I am fully satisfied by how stupendously fast this machine is and the battery life it offers. But there was one glaring problem: setting up all the dependencies that I had accumulated over the years in my 2012 MBP. To alleviate this, I took the help of a good old friend: shell — more specifically, zsh.

Terminal has been part of macOS for a long time and this was an opportunity for me to utilize my skills to write a script that would install all the dependencies without aiming to install everything manually.

TL;DR:The following article talks about my experience with writing a shell script to set up dependencies on M1. If you are familiar with shell scripts and want to move forward with the setup, head to this repository.

docker

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Docker Explained: Docker Architecture | Docker Registries

Following the second video about Docker basics, in this video, I explain Docker architecture and explain the different building blocks of the docker engine; docker client, API, Docker Daemon. I also explain what a docker registry is and I finish the video with a demo explaining and illustrating how to use Docker hub.

Docker Architecture Overview & Docker Components [For Beginners]

Docker Architecture Overview & Docker Components. This ultimate guide revolves around the underlying technologies used by Docker Containers to provide effective containerisation services to its users. It explains the entire Docker architecture and its components using intuitive diagrams.

Docker Tutorial for Beginners 8 - Build and Run C++ Applications in a Docker Container

Welcome to this on Docker Tutorial for Beginners. In this video provides an Introduction on C++ development with Docker containers. So we will see How to ship C++ Programs in Docker.

Docker: Installing Docker and Understanding basic docker commands

“Docker: Understanding Docker Architecture and Components”, The First thing we are going to do is to run the “docker run hello-world” command. This command tries to find the “hello-world” image locally and if not found, it then downloads an image from the docker hub and runs the container out of this image.

WordPress in Docker. Part 1: Dockerization

This entry-level guide will tell you why and how to Dockerize your WordPress projects.