# First steps with Trivy ## Get Trivy Trivy is available in most common distribution channels. The complete list of installation options is available in the [Installation](./installation.md) page. Here are a few popular examples: - macOS: `brew install trivy` - Docker: `docker run aquasec/trivy` - Download binary from [GitHub Release](https://github.com/aquasecurity/trivy/releases/latest/) - See [Installation](./installation.md) for more Trivy is integrated with many popular platforms and applications. The complete list of integrations is available in the [Ecosystem](../ecosystem/index.md) page. Here are a few popular examples: - [GitHub Actions](https://github.com/aquasecurity/trivy-action) - [Kubernetes operator](https://github.com/aquasecurity/trivy-operator) - [VS Code plugin](https://github.com/aquasecurity/trivy-vscode-extension) - See [Ecosystem](../ecosystem/index.md) for more ## General usage Trivy's Command Line Interface pattern follows its major concepts: targets (what you want to scan), and scanners (what you want to scan for): ```bash trivy [--scanners ] ``` ### Examples Scan a container image from a registry with the default scanner, which is the Vulnerabilities scanner: ```bash trivy image python:3.4-alpine ``` Scan a local code repository, for vulnerabilities, exposed secrets and misconfigurations: ```bash trivy fs --scanners vuln,secret,misconfig /path/to/myproject ``` Scan a Kubernetes cluster, with all available scanners, and show a summary report: ```bash trivy k8s --report summary cluster ``` trivy-k8s For a more complete introduction, check out the basic Trivy Demo: ## Learn more Now that you are up and ready, here are some resources to help you deepen your knowledge: - Learn more about Trivy's capabilities by exploring the complete [documentation](../docs/index.md). - Explore community questions under [GitHub Discussions](https://github.com/aquasecurity/trivy/discussions). - Stay up to date by watching for [New Releases & Announcements](https://github.com/aquasecurity/trivy/discussions/categories/announcements). - Follow Trivy on Twitter/X: [@aquatrivy](https://x.com/aquatrivy) - Explore and subscribe to our YouTube channel [@AquaSecOSS](http://youtube.com/@aquasecoss) # Want more? Check out Aqua If you liked Trivy, you will love Aqua which builds on top of Trivy to provide even more enhanced capabilities for a complete security management offering. You can find a high level comparison table specific to Trivy users [here](../commercial/compare.md). In addition, check out the website for more information about our products and services. If you'd like to contact Aqua or request a demo, please use this form: