A practical guide to Homebrew

An introduction to the popular Homebrew package manager Homebrew is a powerful and popular package manager that was initially created for macOS. However, it has now expanded to run on Linux and the Windows Subsystem for Linux as well. With Homebrew, you can easily install a wide range of CLI applications and even full GUI apps. How to install Homebrew? On macOS: To install Homebrew on macOS, simply run the following command in the terminal:...

How to Install Node.js: A Comprehensive Guide

Node.js is a powerful platform that allows you to run JavaScript code on the server side. If you’re looking to install Node.js on your system, there are several options available to you. In this blog post, we’ll explore three popular methods: using a package manager, downloading the official installer from the Node.js website, or using nvm (Node Version Manager). Method 1: Using a Package Manager One of the most convenient ways to install Node....

How to Use Composer and Packagist in PHP

Composer is a PHP package manager that simplifies the process of installing packages into your projects. By using Composer, you can easily add libraries and dependencies to your PHP projects. In this tutorial, we will explore how to use Composer and Packagist to install and manage packages in PHP. Step 1: Installing Composer First, you need to install Composer on your machine. Composer works on Linux, Mac, and Windows operating systems....

What is pnpm? A Disk Space Saving Replacement for npm

Introduction to pnpm, a drop-in replacement for npm that helps reduce disk space usage. In a previous blog post, I discussed the issue of having huge node_modules folders and how it doesn’t necessarily have to be a bad thing. However, finding ways to reduce our hard drive consumption is always a plus, especially considering that newer computers in 2019 are shipping with smaller SSD drives. One way to address this is by centralizing the storage of library code and sharing it across all the projects we work on....