How to Install Polaris on Windows 11

Polaris is an open-source music streaming service that allows you to access your personal music library from anywhere. In this tutorial, we'll guide you through the steps to install Polaris on Windows 11.

Prerequisites

Before we begin, you need to ensure that your computer meets the following prerequisites:

  • Windows 11 operating system installed
  • Git installed
  • Node.js and NPM installed

Steps

Follow these steps to install Polaris on your Windows 11 computer:

  1. Open the Command Prompt by pressing Windows key + X and selecting "Windows PowerShell (Admin)".

  2. Clone the Polaris repository from GitHub by running the following command:

    git clone https://github.com/agersant/polaris.git
    
  3. Navigate to the Polaris directory by running the following command:

    cd polaris
    
  4. Install the required dependencies by running the following command:

    npm install
    
  5. Start Polaris by running the following command:

    npm run start
    

    This will launch Polaris in your default web browser.

  6. To access Polaris from another device, you need to open port 3000 on your computer's firewall. To do this, follow these steps:

    • Press Windows key + I to open the Settings app.
    • Click on "Network & Internet", then select "Windows Firewall".
    • Click on "Allow an app through Windows Firewall".
    • Click on "Change settings", then click on "Allow another app".
    • Browse to the Polaris directory and select the node.exe file.
    • Click on "Add", then make sure the checkbox next to "node.exe" is checked.
    • Click on "OK" to save the changes.

You have successfully installed Polaris on your Windows 11 computer. Enjoy streaming your music library from anywhere!