Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.33 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.33 KB

gleam-pkg

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

this is a prototype for functionality of gleam cli apps shipping and management.

discussion here: gleam-lang/gleam#4136

to compile:

git clone https://github.com/enkerewpo/gleam-pkg
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

uninstalling

rm -rf ~/.gleam_pkgs

and remove the gleam_pkgs path in PATH env from your shell rc file.

repos of gleam cli apps

wheatfox 2024