TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

How to Install SnipeIT on Windows – Full Setup Tutorial (XAMPP + PHP)

This video provides a complete step-by-step tutorial on how to install Snipe-IT on Windows using XAMPP and PHP. You will learn how to configure Apache, MySQL, and PHP properly so the installation runs smoothly. I also guide you through setting up the Snipe-IT database and fixing common issues that often appear during the setup process. This tutorial is designed for beginners, IT support staff, and system administrators who want a clean and error-free installation. Snipe-IT is a powerful open-source IT Asset Management system, and this guide will help you deploy it easily on any Windows machine. By following this video, you will be able to build a fully working Snipe-IT environment for your organization. All instructions are clear, updated, and optimized for 2025 Windows systems. Watch the full video to ensure your installation is successful without missing any important steps.

Step 1: Download web server (XAMPP for Windows)


https://www.apachefriends.org/download.html
Download and install

Step 2: Download Install Composer

https://getcomposer.org/download/

Install and point to the path of the xampp you just installed

Then check again by opening CMD and typing 2 commands in turn
php -v
composer

Step 3: Download and install snipe-it


https://github.com/grokability/snipe-it/releases/

Extract and copy to the folder in xampp
C:\xampp\htdocs

Then rename the folder to snipe-it

Step 4: Configure snipe-it

Copy and paste the .env.excample file and rename it to .env

Then edit the .env file with Notepad++

Rewrite the APP_URL line to localhost.
Open View mode of folder to show hidden files Hide and Filextension

Find php.ini edit this file (C:\xampp\php)
Find the line: ldap, gd, sodium, zip
Remove the ; before it

Step 5: Create database for snipe-it

Open xampp-control => Start 2 app apache,sql

Then access the web link: localhost/phpmyadmin

Select the display language as you like.

New  name the database create will appear the newly created database

Open cmd and type each command in turn

cd C:\xampp\htdocs\snipe-it
composer install

Step 6: Install General app key

Open CMD. Cd to snipe-it folder
cd C:\xampp\htdocs\snipe-it

Type command
php artisan key:generate

Step 7: Configure http path

Edit the .env file
• DATABASE=snipeit (name of the database we created in step 5)
• USERNAME=root

Edit the httpd.conf file (C:\xampp\apache\conf)
Find the documentroot line

Edit it as follows
DocumentRoot “/xampp/htdocs/snipe-it/public”
<Directory “xampp/htdocs/snipe-it/public”>

Save, run apache again Stop Start

Step 8: Complete setup

Access the localhost path
localhost/setup