From 31d7ccc365552c56d3d6d9750fd7bfefda586f28 Mon Sep 17 00:00:00 2001 From: Noah Talerman <47070608+noahtalerman@users.noreply.github.com> Date: Mon, 1 May 2023 11:27:02 -0400 Subject: [PATCH] Fleetctl docs: reference MDM commands page (#11298) - Add link to MDM commands page - Add instructions to install fleetctl with npm - Remove anchor link section at the top of the page --- docs/Using-Fleet/fleetctl-CLI.md | 49 ++++++-------------------------- 1 file changed, 8 insertions(+), 41 deletions(-) diff --git a/docs/Using-Fleet/fleetctl-CLI.md b/docs/Using-Fleet/fleetctl-CLI.md index 159da97ae9..d3ede78622 100644 --- a/docs/Using-Fleet/fleetctl-CLI.md +++ b/docs/Using-Fleet/fleetctl-CLI.md @@ -1,32 +1,13 @@ # fleetctl CLI -- [Introduction](#introduction) -- [Using fleetctl](#using-fleetctl) - - [Available commands](#available-commands) - - [Get more info about a command](#get-more-info-about-a-command) -- [Setting Up Fleet](#setting-up-fleet) - - [Running Fleet](#running-fleet) - - [`fleetctl config`](#fleetctl-config) - - [`fleetctl setup`](#fleetctl-setup) - - [Query hosts](#query-hosts) -- [Logging in to an existing Fleet instance](#logging-in-to-an-existing-fleet-instance) -- [Using fleetctl to configure Fleet](#using-fleetctl-to-configure-fleet) -- [Using fleetctl with an API-only user](#using-fleetctl-with-an-api-only-user) -- [File carving](#file-carving) - - [Configuration](#configuration) - - [Usage](#usage) - - [Troubleshooting](#troubleshooting) - -## Introduction - Fleetctl (pronounced "Fleet control") is a CLI tool for managing Fleet from the command line. Fleetctl enables a GitOps workflow with Fleet and osquery. With fleetctl, you can manage configurations, queries, generate osquery installers, etc. Fleetctl also provides a quick way to work with all the data exposed by Fleet without having to use the Fleet UI or work directly with the Fleet API. -You can find and download the latest version of `fleetctl` in [GitHub](https://github.com/fleetdm/fleet/releases). - ## Using fleetctl +To install the latest version of `fleetctl` run `npm install -g fleetctl` or download the binary from [GitHub](https://github.com/fleetdm/fleet/releases). + You can use `fleetctl` to accomplish many tasks you would typically need to do through the Fleet UI. You can even set up or apply configuration files to the Fleet server.