# Snyk CLI

This documentation provides guidance and information for using the Snyk CLI to bring the functionality of Snyk into your development workflow. Here you will find:

* Guidance for [getting started with the CLI](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/getting-started-with-the-snyk-cli)
* An [important code execution warning for the Snyk CLI](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/code-execution-warning-for-snyk-cli)
* Instructions for [installing or updating the Snyk CLI](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/install-or-update-the-snyk-cli), [authenticating the CLI with your account](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/authenticate-to-use-the-cli), and [configuring the CLI](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/configure-the-snyk-cli)
* The full text of the [CLI help](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/commands) for all of the commands and their options, just as the help appears in your terminal
* A comprehensive summary of all of the [CLI commands and options](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/cli-commands-and-options-summary)
* Articles with in-depth information about [scanning and maintaining projects using the CLI](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/scan-and-maintain-projects-using-the-cli)

For additional information, see the following pages:

* [Snyk CLI for Open Source](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source)
* [Snyk CLI for Snyk Code](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code)
* [Snyk CLI for Snyk Container](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-container)
* [Snyk CLI for Infrastructure as Code](https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snyk.io/~/revisions/8OT8pbepxU4WoUvu2ix6/snyk-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
