Metlo home pagelight logodark logo
  • Sign In
  • Get Started
  • Get Started
CLI
Installing Metlo's CLI
  • Documentation
  • Blog
  • GitHub
  • Discord
  • Contact Us
  • Introduction
    • Welcome to Metlo
    • Getting Started
    • Security
    • Performance
    Inventory
    • Endpoint Discovery
    • Sensitive Data
    • Authentication
    • Custom Sensitive Data
    Protection
    • Attack Detection
    • Attack Context
    • WAF
    Connections
    • Node
    • Python
    • Ruby
    • Java
    • Go
    • Nginx
    • AWS Traffic Mirroring
    • GCP Traffic Mirroring
    • Azure API Management
    • Docker Compose
    • Kubernetes
    • Linkerd
    • AWS Fargate
    • Burp Suite Extension
    Testing
    • Writing a Test
    • Advanced Tests
    • Test Templates
    • Test Rules
    • Global Test Environment
    • Auth Tests
    • Custom Templates
    Settings
    • Metlo Config
    • Webhooks
    • Uploading Open API Specs
    CLI
    • Installing Metlo's CLI
    • Simulate an Attack
    Self Hosted
    • Deploy
    • Debugging
    • Email
    • Data Egress
    • Deploy Open Source
    Contribute
    • Overview
    • Development Guide
    • Making a New Ingestor
    CLI

    Installing Metlo's CLI

    ​
    Install

    You can install Metlo’s CLI from npm:

    Bash
    npm i -g @metlo/cli
    

    ​
    Init

    Metlo is initialized using your Metlo Host (https://app.metlo.com:8081) and API Key (this can be generated on the settings page).

    Bash
    $ metlo init
    ✔ Host address of metlo backend: · https://app.metlo.com
    ✔ Enter your Metlo API Key: · **********************************************
    
    Uploading Open API SpecsSimulate an Attack
    twitterlinkedinfacebookgithub
    Powered by Mintlify
    On this page
    • Install
    • Init