# Step 3: Install Stadernode

In this step, we will install Stader node on your system. However, before proceeding to install the Stader Node Stack, ensure that Docker is installed on your system.&#x20;

<details>

<summary>What is Docker</summary>

Docker is an open-source platform that revolutionizes the way applications are developed, deployed, and run.

* Docker provides a [containerization](https://www.ibm.com/topics/containerization) technology that allows developers to package their applications and all their dependencies into a standardized unit called a container.
* Docker containers are lightweight, portable, and isolated from the underlying infrastructure, making it easy to deploy applications.
* Docker simplifies the process of managing and scaling applications, as containers can be easily replicated and distributed across multiple machines or cloud instances.
* Docker enables efficient resource utilization, as containers share the host system's [kernel](https://en.wikipedia.org/wiki/Kernel_\(operating_system\)#See_also) while providing isolation.
* Docker's containerization approach enhances security by isolating applications and preventing potential conflicts between dependencies.

Overall, Docker has become a fundamental tool in modern software development, offering a consistent and efficient way to package, distribute, and run applications, regardless of the underlying infrastructure. [_Learn more_](https://www.docker.com/)

</details>

<details>

<summary>How to check if Docker is installed?</summary>

Check if you have docker installed on your system before installing Stader Node stack. Run the command: **`docker --version`**

* You will see the version details if Docker is installed
* You will see “command not found: docker” prompt if the Docker is not installed.

</details>

<details>

<summary>How to install Docker?</summary>

**Follow the below guides to install docker on Desktop -**

* MacOS: [https://docs.docker.com/desktop/install/mac-install/](https://docs.docker.com/desktop/install/mac-install/)
* Windows: [https://docs.docker.com/desktop/install/windows-install/](https://docs.docker.com/desktop/install/windows-install/)
* Linux: [https://docs.docker.com/desktop/install/linux-install/](https://docs.docker.com/desktop/install/linux-install/)

**Follow the below guide to install docker on cloud -**

* AWS: [https://docs.aws.amazon.com/whitepapers/latest/docker-on-aws/docker-on-aws.html](https://docs.aws.amazon.com/whitepapers/latest/docker-on-aws/docker-on-aws.html)

</details>

### Once the Docker is installed or if Docker is already present, run the install commands provided below, specific to your system architecture.

* For Linux **`~/bin/stader-cli service install`**
* For MacOS **`~/bin/stader-cli service install -d`**

{% hint style="info" %}
<mark style="background-color:yellow;">**Please close your terminal and start again before proceeding to**</mark> [<mark style="background-color:yellow;">**Step 4: Configure Stader services**</mark>](step-4-configure-stader-services)

Since this is your first time installing Stader, please start a new shell session by logging out and back in or restarting the machine. This is necessary for your user account to have permissions to use Docker.
{% endhint %}

