Skip to content

Installation

The GIS.PH CLI is a command-line interface for interacting with the GIS.PH API.

Install with a single command:

Terminal window
curl -fsSL https://gis.ph/install.sh | bash
  • Node.js >= 14.0.0
  • npm or yarn
  1. Clone or navigate to the project directory:

    Terminal window
    cd my-api-cli
  2. Install dependencies:

    Terminal window
    npm install
  3. Link the CLI globally (optional):

    Terminal window
    npm link

    After linking, you can use gis.ph command from anywhere.

Terminal window
# Using the uninstall script
curl -fsSL https://yourusername.github.io/my-api-cli/uninstall.sh | bash
# Or manually
rm -rf ~/.gis.ph
rm ~/.local/bin/gis.ph