Ask HN: Is there an easy way to release a CLI program for all major platforms?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • cram

    A toolkit for automating Anki flashcard creation (by rlue)

  • I just wrote a small CLI program[0] (actually a wrapper for a collection of shell scripts, similar to git) and would like to package it for easy installation on Debian/Ubuntu, Red Hat/Fedora, Arch, macOS, and hopefully even Windows (via WSL?).

    Is there a tool or service for making this easy? So far, I've found fpm[1]. I haven't dug into it enough to know whether it's the solution I'm looking for, but I also wanted to solicit the community for alternatives in case I'm missing something even better.

    The dependencies are minimal (just Ruby stdlib). Here are options I've considered and opted against:

    * rubygems: I'm not a huge fan of using a language's package manager for end-user software. What happens when the system upgrades its version of Ruby? Does the user have a ruby version manager like rvm or rbenv installed? and so on.

    * docker: a couple weeks back, an article entitled "Run More Stuff in Docker" was trending here[2]. I like the idea, but the approach is a minor hobby unto itself and way too burdensome to ask of general-audience, potentially not-very-technical end-users.

    My program is simple enough that I hope it could be used as an introduction to CLI concepts/UNIX/shell pipes for the uninitiated; someone should not have to be a developer to use it or understand how it works. Assuming a very limited familiarity with the command line, I want to offer install instructions that make no assumptions about the user's system and should always just work; e.g., `brew install cram` / `sudo dpkg -i cram.deb` / etc.

    [0]: https://github.com/rlue/cram

  • fpm

    Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.

  • [1]: https://github.com/jordansissel/fpm

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Debian Discusses Vendoring yet Again

    1 project | news.ycombinator.com | 6 Nov 2023
  • Fpm – Packaging Made Simple

    1 project | news.ycombinator.com | 20 Oct 2023
  • Makefile to .deb

    1 project | /r/devops | 28 Mar 2023
  • Been adding a little more polish to my Battle Network/ Smash bros inspired game.

    1 project | /r/BattleNetwork | 2 Mar 2023
  • Can i create deb file from source code?

    1 project | /r/debian | 25 Jan 2023