New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gpm-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpm-cli

GPM is a package manager for Gradle projects

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

gpm 📦

Java CI with Gradle

GPM is a package manager for Gradle projects. It is inspired by the famous npm package manager. GPM is not a replacement for the Gradle build system, but a helper to install the dependencies seamlessly to reduce latency. It consists of a command-line client, also called gpm, and an online database of a package directory called the GPM registry. It uses similar syntax as npm.

Install ⚙️

sudo npm install -g gpm-cli

Usage ⌨️

Usage: gpm [-hV] [COMMAND]
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
Commands:
  install, i    To install the dependency
  uninstall, u  To uninstall a dependency
  docs, d       To open library docs

Example

To install a library

$ gpm i <library-name-or-keyword>

example

$ gpm i okhttp

Other supported commands given below

Features ⚡

CommandDescriptionImplementedStatusMilestone
installTo install the dependency as implementation✔️Donev1.0.0-alpha01
install --save-devTo install the dependency as testImplementation✔️Donev1.0.0-alpha01
install --save-dev-androidTo install the dependency as androidTestImplementation✔️Donev1.0.0-alpha01
uninstallTo uninstall the dependency from implementation✔️Donev1.0.0-alpha01
uninstall devTo uninstall the dependency from testImplementation✔️Donev1.0.0-alpha01
uninstall dev-androidTo uninstall the dependency from androidTestImplementation✔️Donev1.0.0-alpha01
docsTo open the documentation in default browser✔️Donev1.0.0-alpha01
updateTo update the dependency version to latestPending-
listTo list all the dependenciesPending-

How can I add my repo to the registry? 🤗

Create an issue with below given JSON model as the comment body.

{
  "name": "YOUR REPO NAME", // Required : Depenedency Name
  "github": "GITHUB REPO", // Optional: In format, user/repo 
  "docs": "DOCUMENTATION-URL", // Optional : Can be full URL or file name. For eg. "README.md",
  "group_id": "LIBRARY GROUP ID", // Required : Eg. "com.squareup.okhttp3"
  "artifact_id": "ARTIFACT ID", // Required: Eg. okhttp
  "get_from" : "WHERES YOUR REPO HOSTED", // Required : Possible value are jcenter, mavenCentral, jitpack
  "default_type": "implementation" // Required: Possible values are implementation, testImplementation, androidTestImplementation
}

Example

{
  "name": "OkHttp",
  "github": "square/okhttp",
  "docs": "https://square.github.io/okhttp/",
  "groupId": "com.squareup.okhttp3",
  "artifactId": "okhttp",
  "get_from": "jcenter",
  "default_type": "implementation"
}

Project Status 👷

This project is under active development. Tap the 👁️ Watch button to get updates.

Author ✍️

  • theapache64

FAQs

Package last updated on 18 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts