#gleam #cli #gleam-lang

app gleam-pkg

A shell CLI package manager for Gleam

1 unstable release

0.0.1 Dec 27, 2024

#4783 in #cli

Download history 127/week @ 2024-12-24

127 downloads per month

Apache-2.0

24KB
416 lines

gleam-pkg

gleam package manager for installing Gleam CLI programs right inside your OS

to compile:

git clone https://github.com/enkerewpo/gleam-pkg
git submodule update --init --recursive
cargo build

usage example

# gleam-pkg install gleewhois # this will be supported when we can install gleam-pkg and run it in shell
cargo run -- install gleewhois
# source ~/.bashrc or ~/.zshrc because first time gleam-pkg will ask
# whether you want to add ~/.gleam-pkgs to PATH for using the gleam app in your shell
gleewhois --help

some design ideas

  • support install from github or hex.pm
  • workspace under $home/.gleam_pkgs
  • package metadata management for installation and uninstallation

repos of gleam cli apps

wheatfox 2024

Dependencies

~8–20MB
~306K SLoC