Table of Contents

Twinpack

Twinpack is the package manager for TwinCAT PLC libraries. It lets you discover, install, and update libraries from a catalog, publish your own libraries to the public registry or to private/on-premises servers, and manage third-party dependencies in CI pipelines - without manually copying .library files.

Twinpack integrates into TwinCAT XAE Shell and Visual Studio via the References node. It supports three package sources: the Twinpack server (open-source libraries hosted by Zeugwerk), your own NuGet server (on-premises), and the Beckhoff Library Repository (TwinCAT 3.1.4026+).

What's in this section

Topic Description
Package Manager / Quickstart Install Twinpack, connect to the catalog, and add your first library dependency.
Using the Catalog Browse and search the public Twinpack registry for available libraries.
Connections Configure package sources: Twinpack server, NuGet, and Beckhoff repository.
Connect Beckhoff Repository Use the Beckhoff official library repository as a Twinpack source.
Create NuGet Package Package your own PLC libraries as NuGet packages for publishing.
Command Line Interface Use twinpack from the terminal for CI pipelines and scripted installs.

Getting started

Download the latest installer from github.com/Zeugwerk/Twinpack, select your IDE, and click Install. Then follow the Quickstart to add your first package.

Twinpack is open source and free to use. Source code and installers are on GitHub.