Prerequisites:

Make sure your computer has the following components installed before installing Apache Nifi:

  • Java 8 or later must be installed and added to the PATH environment variable.
  • You must have sufficient privileges to install software on your system.

Step 1: Install Java and configure the environment variables

  • Click here to download Java.
  • Accept the terms of the agreement.
  • Double-click the downloaded exe file to run it.
  • Continue with all default options to finish the installation process.

The next step is to configure the Java Environment Variable -

  • Locate the setting icon by clicking on the Windows icon.
  • Navigate to Advanced system settings -> Environment Variables -> System Variables and then to System Variables.
  • To add a new system variable, go to the System variables section and click New.
  • Enter the variable name and variable value here to set Java's permanent path.
  • You can name the variable JAVA_HOME.
  • Go to the directory where Java is installed and copy the path to the JRE folder, then paste it into the Variable value field.
    • Variable name: JAVA_HOME
    • Variable value: C:\Program Files (x86)\Java\jre1.8.0_251

Apache NiFi Tutorial

  • Close all tabs by selecting OK -> OK -> OK.

Check that Java is installed and that the environment variable was successfully set up.

  • Open the command prompt, type command javac, and hit the Enter key. If the output will display same as the screenshot below, Java is installed successfully.


Step 2 : Download the Apache Nifi Binary:

  • Navigate to the official Apache Nifi website (https://nifi.apache.org/download.html) and download the binary that matches your operating system and architecture.
    • Download the zip file of Apache NiFi for Windows Operating system
    • Download the tarball (tar.gz) file for the Linux operating system.
    • Mac users can also download the tarball file for Mac OS or install it via Homebrew by running the command line brew install nifi.
  • Click on the zip file of NiFi setup for Windows OS under the Binaries section, shown in the screenshot below.

  • The link above will take you to a new page. Click on the first link, as shown in the screenshot below. We are downloading the most recent version of NiFi, 1.21.0.

  • Extract the downloaded file to your preferred directory.
  • Once the download is complete, extract the downloaded zip setup of Apache NiFi. To extract the zip file, right-click on the downloaded file and select Extract here.

Related Articles and Resources

Apache Spark Tutorial

This Apache Spark tutorial explains what Apache Spark is, including the installation process and writing Spark applications with examples:We believe that learning the basics and …

Apache Spark Features

Developed in the AMPLab of the University of California, Berkeley, Apache Spark was developed for high speed, ease of use, and more in-depth analysis. Though …

Apache Nifi Introduction

Apache NiFi is a free and open-source data integration tool that enables users to automate the flow of data between disparate systems. It was created …

Apache Nifi Architecture

Apache NiFi has a processor, flow controller, and web server that execute on the JVM machine. Additionally, it also includes three repositories, as shown in …

Apache Nifi Getting Started

Go to the "bin" folder inside the extracted folder, i.e., apache-nifi/bin. Click on the "run-nifi" batch file and run it to start NiFi.The run-nifi.bat file …

Apache Nifi Ui Components

Apache is a web-based platform that can be accessed by a user using a web interface. The NiFi UI is very interactive and provides a …

Machine Learning Tutorial

What is Machine LearningMachine learning is a subset of artificial intelligence (AI) that entails developing algorithms that allow computers to learn from and improve on …

Machine Learning Steps

Machine learning's ultimate goal is to create algorithms that automatically assist a system in gathering data and using that data to learn more. Systems are …

Applications Of Machine Learning

Machine learning has a wide range of applications across various industries. Some of the popular applications of machine learning include:Image and speech recognition: Machine learning …

Data Analytics And Machine Learning: Key Differences

Data Analytics and Machine Learning are two mighty forces that rule supreme in the quick-moving world of data science. Like enigmatic twins, they have similarities …

Trusted by digital leaders and practitioners from 100+ International Organizations