# CLI

The `microlink` command ships with [microlink.io](https://www.npmjs.com/package/microlink.io). Install it globally, or run it with [npx](https://www.npmjs.com/package/npx):

```
npminstall-gmicrolink.io
```

```
npxmicrolink.io--help
```

Every product is a subcommand. Pass a URL with no product to get unified metadata:

```bash
microlinkhttps://example.com

microlinkmarkdownhttps://example.com

microlinkscreenshothttps://example.com--fullPage

microlinklogohttps://github.com--square

microlinksearch"best coffee"--limit10--locationes
```

Strings print raw; objects pretty-print as JSON. Run `microlink login` to save an API key from your account, or pass `--api-key` / `$MICROLINK_API_KEY`. Run `microlink setup` to install the Microlink skill for the coding agents on this machine, then type `/microlink` to use it. Add `--trace` to print the request and response.

See the [SDK CLI](https://microlink.io/docs/sdk/getting-started/cli) page for authentication, headers, and structured input.