Install glpkg
Requirements
- Node.js 18 or later. glpkg ships as a single bundled file with no runtime dependencies.
- The tool for each ecosystem you use:
npmfor npm packages,pipfor PyPI (plusbuildandtwineto publish),gofor Go modules, thedotnetCLI for NuGet. - To publish:
gitand the GitLab CLIglab. glpkg usesglabto find the GitLab project of the current repository.
Install from npmjs (recommended)
npm install -g @glpkg/cli
This installs the glpkg command. Check it:
glpkg --version
glpkg --help
Install from the GitLab registry
@glpkg/cli is also published to the microwiseai group registry on GitLab. If you already
have glpkg, you can install or update it from there:
glpkg install -g @glpkg/cli --group microwiseai
A global install always needs --group or --external; see
Package sources.
Update
Run the same install command again, for example npm install -g @glpkg/cli.