How to Install Snipe IT on Windows 11

Snipe IT is a free and open-source asset management system that allows organizations to track their assets such as computers, equipment, and software licenses. In this tutorial, we will walk you through the steps to install Snipe IT on Windows 11.

Prerequisites

Before we proceed with the installation of Snipe IT, we need to ensure that our system meets the following requirements:

Step 1: Install XAMPP Server

If you don't have XAMPP Server already installed on your system, follow these steps:

  1. Download XAMPP Server package from https://www.apachefriends.org/download.html.
  2. Double-click on the downloaded file to start the installation process.
  3. Follow the installation wizard and select the components you want to install (Apache, MySQL, PHP, etc.).
  4. Once the installation is complete, start the XAMPP control panel and start Apache and MySQL services.

Step 2: Install Composer

Composer is a dependency management tool for PHP that is required to install Snipe IT. Follow the below steps to install Composer:

  1. Download Composer installer from https://getcomposer.org/download/.
  2. Double-click on the downloaded file to start the installation process.
  3. Follow the installation wizard and select the default options.

Step 3: Install Git

Git is a version control system that is required to clone the Snipe IT repository. Follow the below steps to install Git:

  1. Download Git from https://git-scm.com/downloads.
  2. Double-click on the downloaded file to start the installation process.
  3. Follow the installation wizard and select the default options.

Step 4: Clone Snipe IT Repository

Now that we have installed all the required tools, we can proceed with cloning the Snipe IT repository. Follow the below steps:

  1. Open Command Prompt by pressing Windows key + R and type cmd and hit Enter.
  2. Navigate to the directory where you want to install Snipe IT. For example, cd C:\xampp\htdocs.
  3. Clone the Snipe IT repository by running the following command:
git clone https://github.com/snipe/snipe-it.git
  1. Once the cloning process is complete, navigate to the snipe-it directory by running the following command:
cd snipe-it
  1. Install the dependencies required by Snipe IT by running the following command:
composer install --no-dev

Step 5: Create the .env File

The .env file contains the configuration settings for Snipe IT. We need to create this file and set our environment variables. Follow the below steps:

  1. Copy the .env.example file by running the following command:
cp .env.example .env
  1. Edit the .env file and set the following variables:
APP_ENV=production
APP_KEY=
APP_URL=http://localhost
.
.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=snipeit
DB_USERNAME=root
DB_PASSWORD=
  1. Save and close the file.

Step 6: Create the Database

We need to create a MySQL database for Snipe IT to store the asset data. Follow the below steps:

  1. Open your web browser and navigate to http://localhost/phpmyadmin.
  2. Click on the New button in the left sidebar.
  3. Enter snipeit as the database name and click on the Create button.

Step 7: Run the Installation Wizard

Now that everything is set up, we can run the Snipe IT installation wizard. Follow the below steps:

  1. Open your web browser and navigate to http://localhost/snipe-it/public.
  2. Follow the installation wizard and enter the required information.
  3. Once the installation is complete, you can log in to your Snipe IT instance.

Conclusion

Congratulations, you have successfully installed Snipe IT on your Windows 11 system. You can now start managing your assets using Snipe IT.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!