Best Way To Install Node On Mac

.NPM gets installed automatically when you install Node on your system. Installation on Windows and MAC. To download node, you just need to visit the node’s official website and download the LTS version of node. Once, downloaded, you’ll see an installer similar to this. Hit install it as you install any other application on your Windows or Mac. Jan 13, 2021 kubeadm – a CLI tool that will install and configure the various components of a cluster in a standard way. Kubelet – a system service/program that runs on all nodes and handles node-level operations. Kubectl – a CLI tool used for issuing commands to the cluster through its API Server. There are a few ways to install Node.js. One of the obvious ones is to download the installer from However, you might not want to be downloading a new installer every time there's a new version out. Here are few alternative ways to update to the latest version of Node.js on a Mac. Nvm is a script-based node version manager. But before you can use Node.js or NPM you need to install them — while the NodeJS website includes an installer, there’s a better way to install them on a Mac. In this article, I’ll take you through the process of installing Node.js and NPM on a Mac using Homebrew.

UPDATED in July 2020 with the latest instruction set.

Are you looking for a Kubernetes solution to run on your Mac? MicroK8s is a lightweight, pure upstream distribution of Kubernetes developed by Canonical. It’s a compact Linux snap that installs a single-node Kubernetes cluster alongside carefully selected add-ons on Linux, Windows and macOS. Although MicroK8s was originally built for Linux, Kubernetes on Mac works natively with MicroK8s, using an Ubuntu virtual machine (VM).

MicroK8s has a low resource footprint and can be used as a single-node Kubernetes or as a multi-node cluster. This allows teams to develop and test their cloud-native applications, build CI-CD pipelines, develop AI/ML models or embed an auto-upgradeable Kubernetes in IoT and edge appliances.

While MicroK8s automates the typical functions of Kubernetes, such as scheduling, scaling and debugging, it also abstracts some of its complexity by pre-packaging add-ons such as DNS, the Kubernetes dashboard, and Istio. Additionally, MicroK8s follows the upstream Kubernetes release cadence, making new versions available within days of the official release.

Kubernetes on Mac set up steps

The following steps are required to download MicroK8s on macOS and set up the necessary add-ons to access the MicroK8s dashboard.

Step 1: Install MicroK8s

If you don’t have the brew command you can get it from the Homebrew website.

Step2: Check MicroK8s status

Step 3: Enable the dashboard add-on

Step 4: Access the Kubernetes dashboard

Kubernetes on Mac in summary

MicroK8s is easy to install and provides a nice way to do Kubernetes on Mac workstations. For larger-scale use cases, MicroK8s nodes can be clustered together. To read more about clustering and other advanced MicroK8s configuration, continue reading and exploring with the official MicroK8s documentation.

Useful reading

Best Way To Install Node On Mac Laptop

What is Kubernetes?

Kubernetes, or K8s for short, is an open source platform pioneered by Google, which started as a simple container orchestration tool but has grown into a platform for deploying, monitoring and managing apps and services across clouds.

Newsletter signup


Foundry Virtual Tabletop is available cross-platform, so users of Windows, macOS, and various linux distributions can all host servers for their GMs and Players to use conveniently and easily. This article will instruct you on how to download and install of Foundry VTT for your operating system, and warn you of some of the more common pitfalls users face when trying to install for the first time.

Downloading & Installing Foundry VTT

To download Foundry Virtual Tabletop you must be a software license owner, if you have purchased a license the links to download the latest stable release of the software are available on your user profile as shown above.

The Foundry VTT standalone application is the recommended installation path for most users: it bundles the the Foundry game server software with a built-in chromium web browser to serve as a client view, allowing you to interact with the server directly and conveniently. If you are planning to host a dedicated server instead, you will want to install the Node.js version described later in this article.

Installation - Windows

If you are using the Windows version of Foundry VTT there is an installation process necessary once you have downloaded the installer. To install the software, run the setup executable file that you downloaded.

During the installation process you will be asked for an installation location. Despite being the default path for installation, it is recommended to install Foundry VTT in a location not contained within the Program Files directory, as this can result in some permission issues when updating the software.

Once installation is complete, you can launch Foundry VTT using either the shortcut in the start menu, on your desktop, or by running the FoundryVTT.exe file located within your installation location.

Microsoft Defender SmartScreen

In rare cases you may see a warning message from Microsoft Defender SmartScreen. To allow Foundry Virtual Tabletop to pass the Defender SmartScreen, click More Info and then click Run Anyway Alternatively, if you have stronger security settings applied, you may need to right click the file, click Properties, and mark the checkbox Unblock in the Security section.

Installation - macOS

If you are using the macOS version of Foundry VTT, there are some steps which are required to allow you to run the app. As the macOS copy of Foundry VTT is not code-signed through Apple's developer process, you may see a notification when you try to run the app, advising you that the application cannot be opened 'because it was not downloaded from the app store' or 'because the developer cannot be verified.' (More information on this security process from Apple here.)

To install Foundry VTT and allow the app to launch, do the following:

  1. Open the downloaded .dmg file.
  2. Drag the Foundry VTT app icon to the Applications folder.
  3. Open your Applications folder, and right-click on the Foundry VTT app. Choose 'Open'.
  4. A prompt will appear: macOS cannot verify the developer of 'FoundryVTT'. Are you sure you want to open it?
  5. Click 'Open'.
  6. The app will launch, and can now be opened in the future by double-clicking it or launching it from the Dock.

Installation - Linux

Best Way To Install Node On Mac

For Linux users, Foundry Virtual Tabletop is currently distributed as a simple;.zip archive. All you need to do is extract the zip file in a location of your choosing. Feel free to choose whatever installation location is best for you, a simple option would be to use a folder named foundryvtt in your user home directory.

Install node windows

Once you have extracted the archive, locate the foundryvtt file in the directory and set the permission on it to allow execution as a program. This will allow you to execute it from the terminal with ./foundryvtt. Alternatively, on some Linux distributions (Deb/Ubuntu) you can rename the foundryvtt file to add a .sh extension. This will allow you to quickly launch it by double-clicking. At this time there is no Linux .desktop packaged with FVTT.

Entering your Software License

When you have launched the application you will initially be greeted by a window prompting you to enter your Software License Key. Enter your purchased Software License key and click Submit.

After entering your license key you will be prompted to sign the End User License Agreement, agreeing to the terms of the software will contact the Foundry web server to validate and sign your license so, for this step of the process an internet connection is required.

That's it, you're ready! Now it's time to get started by checking out the Tutorial - Gamemaster Part One and for a guide on ensuring your players are able to connect be sure to take any necessary steps to set up Port Forwarding.

Endless EULA Bug

Note: This bug has been fixed as of the 0.8.x series, and only appears in older versions of the Foundry VTT software.

If you are using Windows and finding that you cannot accept the End User License Agreement to complete activation of Foundry VTT, the most likely cause is that the name of your computer contains an accented character which can trigger some license signing issues. The work around is to rename your PC by following these steps: Once the name no longer contains invalid text characters, you can delete your license.json file from %localappdata%FoundryVTTConfig and you'll be able to re-enter your license key and use the software as expected.

Hosting a Dedicated Server with NodeJS

If you are planning to host and run Foundry Virtual Tabletop as a dedicated server rather than a client application, FVTT is also available as a NodeJS package. The NodeJS version of the package is available from the Purchased Licenses page mentioned above.

Installing NodeJS

In order to use the NodeJS package it is necessary to install NodeJS for whichever operating system you intend to use to host your server. As this process varies greatly depending on OS, it is recommended you see the installation documentation available from

Note that a relatively modern version of Node.js is required in order to support various security features which are required by the application. Please use Node.js version 14.x or newer.

Best Way To Install Node On Mac Keyboard


For Red Hat / Amazon Linux package manager

Debian / Ubuntu package manager

Downloading via Terminal


You may have noticed a small 'chain' link icon next to the download links on the download page. Clicking this chain icon generates a temporary link which can be used to download Foundry VTT via a terminal or shell interface using wget.

When downloading the link using a command line utility such as wget it's important to wrap the link in double-quotes. This ensures that the link is read correctly by the command. For example:

Please be aware that the download links provided via the purchased licenses page expire every 5 minutes.

Extracting and Launching the Server Using NodeJS

Now that you have downloaded both the Foundry VTT NodeJS package and installed NodeJS, it's time to extract the zip and create your data directory.

For Linux


For macOS

Foundry VTT is also supported as a native application on macOS using Electron, however if you wish to host the software using Node.js directly, this is also an option in the macOS environment. Simply visit and download the macOS installer. Node is installed on your system, you can run the server using the instructions in the below section via your Mac terminal.

For Windows

Note that you can run a dedicated server from Windows also, for Windows you should download and install node.js from

Now that you are running Foundry VTT via node, open any modern web browser and connect to to access your Foundry VTT server.

Running FVTT as a Service

Best Way To Install Node On Mac Os

If you wish to keep the server running perpetually, you can find relevant documentation for maintaining background processes with a package manager such as PM2 here, or otherwise review the relevant documentation for crontab or the equivalent for your operating system.