Installation
The installation instructions provided here are for a production installation of Snipe-IT. If you are a developer looking to contribute to Snipe-IT, please see the Contributing page.
Installation Overview
Once you have downloaded Snipe-IT, you'll need to complete all of the steps in the installation section, in addition to configuring your server.
That means you will now create an empty MySQL/MariaDB database, customize your configuration file, install the dependencies with composer, and then configure your web server.
Your steps should look something like this:
| Step | Description | Est. Time |
|---|---|---|
| Step 1 | Download Snipe-IT | < 1 minute |
| Step 2 | Creating a Database and User | < 1 minute |
| Step 3 | Configure Snipe-IT for your environment | < 3 minutes |
| Step 4 | Install package dependencies via composer | < 3 minutes |
| Step 5 | Generate Your App Key | < 1 minute |
| Step 6 | Configure your webserver | ~10 minutes |
| Step 7 | Pre-Flight & Setup | < 3 minutes |
Installation should take around twenty minutes or less, if nothing goes wrong, and if you're pretty familiar with web server configuration.
If this all looks too overwhelming for you, we do offer affordable hosted solutions for folks who want to use Snipe-IT but don't know how to run a web server, or don't have time to keep up with updates. Hosted customers also get email support, and assistance with importing data.
Requirements
The requirements for Snipe-IT are fairly standard for a modern web server, and most servers will have most or all of these components already installed. If for some reason you don't have them installed, they are relatively easy to add.
NOTE ON SHARED HOSTING:If you're installing Snipe-IT on shared hosting, you should have most of these installed already, with the exception of LDAP. LDAP integration may not be possible on shared hosting, depending on your web host. Email your hosting provider's support team to determine if your server meets the requirements to install Snipe-IT.
General System Requirements
| Requirement | Notes/Installing |
|---|---|
| PHP >=8.2.0 <8.6 | |
| PHP Extensions: |
|
| MySQL 5.7+ or MariaDB | |
| GD Library (>=2.0) or Imagick PHP extension (>=6.3.8) | For barcode generation and image resizing for image uploads. |
| Notepad++ or another plain-text editor for the editing configuration file | The specific text editor doesn't matter, just as long as it doesn't save as rich text or try to convert apostrophes and quotes into curly quotes. |
| Git | Highly recommended for easier install/upgrade, but not required. |
Requirements Specific to Linux/OSX
| Requirement |
|---|
| Mod Rewrite |
| SSH access to the server with an SSH client (like Terminal for mac OS Desktops or Putty for Windows Desktops) |
Requirements Specific to Windows Server
| Requirement | Notes/Installing |
|---|---|
| IIS | |
| IIS URL Rewrite | |
| MariaDB 10.11.11+ for Windows | |
| PHP Manager for IIS (makes managing PHP on IIS much easier) |
|
| Composer 2 install with the shell menus | |
| Notepad++ | or other plaintext editor for editing the config file |
Downloading
Download Snipe-IT for a production installation using Git, a release archive, the Linux installer, or Docker.
If you plan to contribute to Snipe-IT, use the Contributing guide instead.
1. Clone with Git (Recommended)
Choose this option if Git is already installed on your server and you want the easiest upgrade path.
$ git clone https://github.com/grokability/snipe-it your-folder
To update later, run git pull in your Snipe-IT installation directory.
2. Download the Source Archive
Download the release archive if you prefer to install from a ZIP file instead of cloning the repository.
Download the latest release from GitHub.
Unzip the archive into your new Snipe-IT installation directory.
3. Download the Installer
Use the installer only on a fresh Linux CentOS/Red Hat or Debian/Ubuntu system that has no other sites running on it.
circle-info This installer requires CentOS 6, Ubuntu 14, or later.
If you are using RHEL 7, enable the Extra Packages for Enterprise Linux (EPEL) repository first. EPEL depends on the Red Hat
optional(rhel-7-server-optional-rpms) andextras(rhel-7-server-extras-rpms) repositories.
$ wget https://raw.githubusercontent.com/grokability/snipe-it/master/install.sh
$ chmod 744 install.sh
$ ./install.sh
4. Use Docker
Use the Docker guide if you want to run Snipe-IT in containers.
File Structure
After you unzip the archive or complete the Git clone, your Snipe-IT installation directory should look similar to this:

Use the public directory as your web root.
circle-info Use the highlighted
publicdirectory as your web root, not the top-level Snipe-IT installation directory.
Updated 2 days ago
