#gleam #cli #gleam-lang

app gleam-pkg

A shell CLI package manager for Gleam

1 unstable release

Uses new Rust 2024

0.0.1 Dec 27, 2024

#4930 in #cli

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

~6–23MB
~288K SLoC