Switching to a Git Install

As we mention (several times) throughout the documentation, installing via Git is our recommended way of installing Snipe-IT and keeping it up to date. If you installed manually (downloading a tarball or .zip file from Github), you can still switch to a Git install with just a little work. Doing so will change your upgrade workflow from downloading a new zip, copying folders and files, and running a bunch of command to running one command - much easier!

🚧

Note:

When you switch to a Git install, you're using the same database as your manual install. There is no need to perform any actions as root, or no new databases or web server configurations need to be made.

You'll do the following process only once to switch you from a manual install to a git install:

1. Make sure you have Git installed

Obvious, but kinda important. Make sure you have downloaded and installed Git. If you're not sure, you can type:

# Check if you have git installed
git --version

If it gives you a version number, you have Git installed. If it tells you the command is not found, you don't have Git installed and will need to install it.

2. Backup your old install