Skip to content

GoTPM

Go Test Go Report Card

A minimal Typst Package Manager written in Go.


This tool is for developers working on Packages for Typst. It will make testing your Package easy, as it allows you to install the package locally and use it.

  • Install Packages into {data-dir}/typst/packages/
  • Uninstall Packages
  • List Packages
  • Manage the Version of a Package
  • Use it in GitHub Actions for publishing Packages to the Typst Universe

Installation

macOS

Homebrew:

# Short form
brew install npikall/tap/gotpm

# Long form
brew tap npikall/tap && brew install gotpm

Shell:

curl -sSfL https://github.com/npikall/gotpm/releases/latest/download/install.sh | sh

Linux

curl -sSfL https://github.com/npikall/gotpm/releases/latest/download/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://github.com/npikall/gotpm/releases/latest/download/install.ps1 | iex"

Install with Go

go install github.com/npikall/gotpm@latest

Download Binary

Download the Binary from GitHub Releases and place it in your $PATH

Build from Source

git clone https://github.com/npikall/gotpm.git
cd gotpm
just install # or read the justfile to do build and install manually

Gopher