# Hive CLI (Command Line Interface) A CLI util to manage and control your GraphQL Hive. You can perform [schema-registry actions](https://the-guild.dev/graphql/hive/docs/features/schema-registry#actions-on-schemas) on your Hive targets using the Hive CLI. [![Version](https://img.shields.io/npm/v/@graphql-hive/cli.svg)](https://npmjs.org/package/@graphql-hive/cli) ## Installation ### NodeJS If you are running a JavaScript/NodeJS project, you can install Hive CLI from the `npm` registry: ``` pnpm install -D @graphql-hive/cli yarn add -D @graphql-hive/cli npm install -D @graphql-hive/cli ``` > We recommend installing Hive CLI as part of your project, under `devDependencies`, instead of > using a global installation. ### Binary If you are running a non-JavaScript project, you can download the prebuilt binary of Hive CLI using the following command: ```bash curl -sSL https://graphql-hive.com/install.sh | sh ``` ## Commands - [`hive artifact:fetch`](#hive-artifactfetch) - [`hive config:delete KEY`](#hive-configdelete-key) - [`hive config:get KEY`](#hive-configget-key) - [`hive config:reset`](#hive-configreset) - [`hive config:set KEY VALUE`](#hive-configset-key-value) - [`hive dev`](#hive-dev) - [`hive help [COMMAND]`](#hive-help-command) - [`hive introspect LOCATION`](#hive-introspect-location) - [`hive operations:check FILE`](#hive-operationscheck-file) - [`hive schema:check FILE`](#hive-schemacheck-file) - [`hive schema:delete SERVICE`](#hive-schemadelete-service) - [`hive schema:fetch ACTIONID`](#hive-schemafetch-actionid) - [`hive schema:publish FILE`](#hive-schemapublish-file) - [`hive update [CHANNEL]`](#hive-update-channel) - [`hive whoami`](#hive-whoami) ## `hive artifact:fetch` fetch artifacts from the CDN ``` USAGE $ hive artifact:fetch --artifact sdl|supergraph|metadata|services|sdl.graphql|sdl.graphqls [--cdn.endpoint ] [--cdn.accessToken ] [--outputFile ] FLAGS --artifact=