Skip to main content

Package Management

TsukineOS uses tknpkg as its package manager. The package format is .tkn, pulled from the official TsukineOS remote repository. If you want to distribute your own tools, scripts, or configurations, use tknpkkj to create a .tkn package.

tknpkg: Package Manager

tknpkg handles the full package lifecycle: refreshing the index, installing, removing, and listing installed packages.
Run tknpkg update before installing packages to make sure the local index reflects the latest versions in the remote repository.

tknpkkj: Packaging Tool

tknpkkj packages a directory or file into a .tkn package for distribution or installation via tknpkg.
Typical uses:
  • Package your own command-line tools for distribution
  • Let others install your scripts with a single tknpkg install
  • Distribute system configurations in a reproducible format
The available package set varies by build. Run tknpkg list first to see what is already installed on the current image.
This page was translated by AI and may contain inaccuracies. The Simplified Chinese version is authoritative.