Installation
The GIS.PH CLI is a command-line interface for interacting with the GIS.PH API.
Quick Install (Recommended)
Section titled “Quick Install (Recommended)”Install with a single command:
curl -fsSL https://gis.ph/install.sh | bashManual Installation
Section titled “Manual Installation”Prerequisites
Section titled “Prerequisites”- Node.js >= 14.0.0
- npm or yarn
-
Clone or navigate to the project directory:
Terminal window cd my-api-cli -
Install dependencies:
Terminal window npm install -
Link the CLI globally (optional):
Terminal window npm linkAfter linking, you can use
gis.phcommand from anywhere.
Uninstall
Section titled “Uninstall”# Using the uninstall scriptcurl -fsSL https://yourusername.github.io/my-api-cli/uninstall.sh | bash
# Or manuallyrm -rf ~/.gis.phrm ~/.local/bin/gis.ph