zigup icon indicating copy to clipboard operation
zigup copied to clipboard

Publish this tool on Homebrew

Open hhstore opened this issue 3 years ago • 2 comments

  • It is not convenient to install this tool using curl/wget etc.
  • It is recommended to publish this tool to the package management tool of each platform.

MacOS Homebrew:

  • https://docs.brew.sh/Formula-Cookbook
  • https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap

use cURL install:

  • I provide a curl download installation script here, which can be used if needed.
  • base on go-task.

  install:zigup:
    cmds:
      - mkdir -p $HOME/.local/bin/;
      - cd $HOME/.local/bin/; curl -LJO https://github.com/marler8997/zigup/releases/download/v2022_08_25/zigup.macos-latest-aarch64.zip && unzip zigup.macos-latest-aarch64.zip && rm zigup.macos-latest-aarch64.zip
      - chmod +x $HOME/.local/bin/zigup;
      - zigup
    ignore_error: true
  • fish: set env:

set -gx PATH "$PATH:~/.local/bin"

hhstore avatar Sep 08 '22 18:09 hhstore

It would be really nice to get this one on Homebrew one day!

unorsk avatar Nov 25 '24 10:11 unorsk

This is on homebrew now!

lishaduck avatar Feb 24 '25 03:02 lishaduck