Tag Archives: NodeJS

How to Install Node JS 22 on macOS High Sierra

MacOS is an operating system that often becomes OS platform of choice for developers. With a vast ecosystem built around Apple products and services, developers may find it so convenient to use macOS for developing software. Besides convenience felt through the rich user experience, high usability, and intuitive UI, macOS has been known as a stable OS platform due to tight integration between the hardware and software. If you use macOS running on MacBook to develop software, you can experience first-hand how stable the system is. System freeze due to faulty driver or OS issue is quite rare. The machine just works and it works fine for years.

But here is actually the actual issue. After few years using the machine, you realize that Apple has officially dropped the support for the macOS version running on your MacBook and at the same time you can not upgrade to the latest macOS version because the hardware powering the MacBook is not supported anymore in the latest or newer macOS version. As Apple drops the support for the OS, software vendors also drop the support for their software products. Now, you’re left with software that still works fine but you cannot upgrade to the latest or near latest version of the software through its official distribution channel. This is since there is no newer version in the software release that supports the version of macOS you currently use.

Continue reading

How To Update Node.js on MacOS: Hindsight on Old Mac

Updating packages and apps on MacOS is usually a trivial task. There are several avenues available, depending on the personal preference and degree of familiarity with various tools available on Mac. Now consider a case for updating Node.js (and subsequently npm) on MacOS. What are the options?

tl;dr Updating Node.js with lightweight package manager such as n is less error prone especially for older MacOS version

Let’s start by listing the options on our perusal.

Option 1: Download the installer from nodejs.org and install the binary

This option is ideal for the first installation. It is less ideal for update / version upgrade or if we want to maintain several nodejs versions on the machine. Continue reading

How to Open Multibyte CSV File Containing East Asian Characters (Chinese, Japanese, Korean) in Excel on MacOS

Excel on MacOS has its own quirk when dealing with CSV file. If you have a CSV file that is encoded with UTF-8 and contains entries in multibyte characters from East Asian languages such as Chinese, Japanese, Koreans, opening the file in Excel on MacOS may give you some surprise. Instead of showing the East Asian characters, Excel will display garbled characters.

Let us a run experiment to explain this case. We will use Node JS to create a CSV file, encode the file using UTF-8 and then try to open it using Excel on MacOS. Continue reading

Quick Tip: Installing NodeJS 8 on CentOS 7

Node JS has been gaining more popularity as the server-side runtime environment of choice these recent years. The asynchronous event-driven feature built into Node JS can be considered a killer feature that may flatter a system architect planning to build a high-performing server-side component serving HTTP webservice to the clients.

Node JS is cross-platform. The executable can run on major OSes that include Windows, GNU Linux, and Mac OS. Having a wide OS support further accelerates Node JS adoption within the server-side technology stack. Continue reading