Self-host Inventree
1.7.2Open-source parts inventory and stock control
- Stars
- 7 868
- Port
- 6000 (Internal web server port behind Nginx in the package installer setup)
inventree/inventreeWhat 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
Part-DBSelf-hosted, open-source inventory management for electronic components with multi-language support, barcode scanning, 2FA, SAML SSO, KiCad integration, AI extraction.ComparePart-DB with Inventree
BinnerBinner is a self-hosted, open-source parts inventory system for electronics hobbyists and professionals to track components and import orders.CompareBinner with Inventree
Snipe-ITSelf-hosted, open-source ITAM system to track hardware, software licenses, accessories and consumables, with barcode checkout, LDAP/SAML SSO and a REST API.CompareSnipe-IT with Inventree
Open Source POSSelf-hosted open-source point of sale web app in PHP/MySQL for retail: stock, sales register, invoicing, barcodes, reports, gift cards and multiuser permissions.CompareOpen Source POS with Inventree
HomeboxOpen-source, self-hosted home inventory for tracking your stuff by location, label and custom fields, with OIDC SSO, a REST API and QR-code labels.CompareHomebox with Inventree
Spotlight_StorageSelf-hosted inventory management system that uses WLED-controlled LEDs to physically locate items in storage bins across multiple locations.CompareSpotlight_Storage with Inventree
CarbonOpen-source manufacturing suite spanning ERP, MRP, MES and QMS on one Postgres schema: self-hosted quoting, planning, shop-floor tracking, quality and costing.CompareCarbon with Inventree
Ever GauzySelf-hosted open-source ERP/CRM/HRM/ATS/PM platform with time tracking, invoicing, project management, employee monitoring, and desktop apps for Windows, Mac, and Linux.CompareEver Gauzy with Inventree
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 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.
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
KoillectionSelf-hosted, open-source collection manager for tracking physical collections of all kinds, with custom metadata, tags, wishlists, loans and a REST API.
LouezLouez is a self-hosted, open-source equipment rental platform for small businesses to manage inventory, reservations, and contracts with storefronts.
MagentoSelf-hosted, open-source PHP ecommerce platform: storefront plus admin for catalog, orders and promotions. Installed with Composer on Linux against MariaDB, OpenSearch.
MyCompanyFree ERP and CRM for small firms merging inventory, billing, production, sales, projects, HR and POS into one database.
octofleetSelf-hosted, open-source endpoint management for Windows/Linux fleets with real-time inventory, vulnerability scanning, patch management, and remote access.
openlinkerSelf-hosted, open-source e-commerce platform syncing orders, inventory, and listings across shops and marketplaces with shipping and invoicing integrations.
Open QuarterMasterOpen QuarterMaster is a self-hosted, open-source inventory system with a modular Core API, Base Station frontend, and plugins for scalable tracking.
Open Source POSSelf-hosted open-source point of sale web app in PHP/MySQL for retail: stock, sales register, invoicing, barcodes, reports, gift cards and multiuser permissions.
openuem-consoleOpenUEM Console is the self-hosted, open-source web UI for managing IT assets, deploying software, and remote assistance across Windows, Linux, and macOS endpoints.
Part-DBSelf-hosted, open-source inventory management for electronic components with multi-language support, barcode scanning, 2FA, SAML SSO, KiCad integration, AI extraction.
ralphSelf-hosted, open-source CMDB, DCIM and asset-management system for data-center and back-office hardware, with lifecycle workflows, rack visualization and a REST API.
shelf.nuA free open source IT asset / Equipment / management and scheduling system.









0 comments