/pk

Primary LanguageTypeScript

pk

Pk is git based package manager for macos.

Usage

Build pk command and install executable

bun run build && cp pk /your/bin/path

Configure pk

echo 'eval "$(pk init)"' > ~/.bashrc

Write Pkfile.json like below

{
  "$schema": "https://raw.githubusercontent.com/mkanenobu/pk/main/pkfile-schema.json",
  "packages": [
    {
      "name": "hey",
      "gitUrl": "https://github.com/mkanenobu/hey",
      "buildCommand": "go build -o hey",
      "executablePath": "hey"
    }
  ]
}

Execute install

pk install

For development

To install dependencies:

bun install

To run:

bun run main.ts