selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Inventree logo

Self-host Inventree

1.7.2

Open-source parts inventory and stock control

ReleaseOpen SourceMIT
Updated3 days ago
LanguagePython
Setup difficultyModerate
MobileNative app
Stars
7 868
Port
6000 (Internal web server port behind Nginx in the package installer setup)
Docker
inventree/inventree
Install with Linux
Part view showing stock informationStock item detail viewSuppliers overviewPart category structureManufacturer parts viewStock locationsBuild order detailsAdding an item to a bill of materials

What is Inventree?

InvenTree is an MIT-licensed inventory management system built with Python and Django, aimed at small businesses, workshops and hobbyists that need low-level parts and stock control. It organizes parts into structured categories, tracks stock across cascading locations, supports serialized items with stored test results, and covers bills of materials, build orders, suppliers, purchase orders, sales orders and returns. Barcodes, custom report and label templates, data import/export, global search and a web-based admin interface are built in, and a plugin system lets you extend the core behavior. The software is served to the browser through a REST API, for which a native Python binding is also provided, and a companion mobile app exists for Android and iOS. You can run it with Docker Compose (PostgreSQL database, web server, background worker, Caddy proxy and optional Redis), the one-line installer script for Debian and Ubuntu, apt packages via packager.io, or a manual bare-metal deployment that requires Python 3.12 or newer. Native Windows installs are officially unsupported, and SQLite works but is discouraged for production in favor of PostgreSQL. Releases are frequent (current stable line is 1.5.x), and a public demo instance runs the software with a sample dataset reset every 24 hours.

Inventree alternatives

Should you self-host Inventree?

Inventree scores 73/100 on selfhost.directory (how scoring works) and ranks #2 of 11 in Inventory Management. It has 7 868 GitHub stars, +165 in the last 30 days.

It shipped 33 stable releases in the past year. The latest, 1.7.2, came out on 12 November 2026. New versions land roughly every 6 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Homebox (75/100, 7 893 stars). It scores higher overall, so compare the two before you pick. See Inventree vs Homebox side by side.

Features

  • Barcode Support
  • Bill of Materials (BOM) management
  • Build order management
  • Custom reports and labels
  • Database admin interface
  • Data Import and Export
  • Global Search
  • Multi-language user interface
  • Parts and category management
  • Plugin System
  • REST API
  • Sales orders
  • Serialized stock items
  • Stock control and location tracking
  • Supplier and purchase order management

Inventree README

InvenTree logo

InvenTree

Open Source Inventory Management System

License: MITGitHub tag (latest SemVer)Artifact Hub CI Documentation Status Docker Build Netlify Status

OpenSSF Best Practices OpenSSF Scorecard Maintainability Rating

codecov Crowdin GitHub commit activity Docker Pulls

GitHub Org's stars Twitter Follow Subreddit subscribers Mastdon

🌟 About the Project

InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking. The core of the InvenTree system is a Python/Django database backend which provides an admin interface (web-based) and a REST API for interaction with external interfaces and applications. A powerful plugin system provides support for custom applications and extensions.

How to install Inventree

Install Inventree with Linux

Environment variables
SETUP_DEBUG, SETUP_NO_CALLS, SETUP_NGINX_FILE, SETUP_EXTRA_PIP, INVENTREE_ADMIN_USER, INVENTREE_ADMIN_EMAIL, INVENTREE_ADMIN_PASSWORD

wget -qO install.sh https://get.inventree.org && bash install.sh

Automated production install; takes 5-10 minutes.

How to configure Inventree

  • INVENTREE_SITE_URLNot SpecifiedSpecify a fixed site URL
  • INVENTREE_DB_ENGINEDatabase backend
  • INVENTREE_DB_NAMEDatabase name
  • INVENTREE_DB_USERDatabase username (if required)
  • INVENTREE_DB_PASSWORDDatabase password (if required)

Inventree releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Background Worker "Not Running"

The background worker must be started separately from the web server, e.g. with the invoke worker command or a process manager.

Feature x does not work after update

Your browser may be caching old CSS/JavaScript files; perform a hard refresh (Ctrl+Shift+R or Ctrl+F5).

Cannot import name get_storage_class

The automatic backup cannot run because required python packages are not installed yet; proceed with invoke update --skip-backup.

Breaking Changes

Check the release notes before updating; any breaking changes requiring user intervention are clearly noted there.

Session Cookies

A change to session cookie handling in the 0.17.0 release can break logins after upgrading; check the server access settings such as INVENTREE_SESSION_COOKIE_SECURE and INVENTREE_COOKIE_SAMESITE.

InvenTree Site URL

The INVENTREE_SITE_URL environment variable has not been specified correctly; see the configuration documentation.

'str' object has no attribute 'removeSuffix'

Your Python version is too old — InvenTree requires Python 3.12 or newer.

No module named xyz

Either the named python modules are not installed or the virtual environment is not activated; run invoke install and check the venv.

INVE-E1 - No frontend included

The frontend panel is missing in development releases; make sure you run a stable or production release.

Invoke Version

An invoke version that is too old can cause error messages during installation; see the invoke guide's minimum version note.

Can't find any collection named tasks

The docs refer you to the invoke guide for this error.

Command 'invoke' not found

The invoke tool has not been correctly installed; the docs point to the invoke installation guide.

Installing on Windows

There is no official native Windows installation; you can still run InvenTree on Windows using Docker.

More in Inventory Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…