Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Infisical CLI"
sidebarTitle: "CLI"
description: "Install and set up the Infisical CLI."
icon: "terminal"
---
The Infisical CLI allows you to interact with the Infisical platform from your terminal.
<Warning>
If you installed the CLI on Linux from the Cloudsmith package repository, [move to `artifacts-cli.infisical.com`](/cli/cloudsmith-migration). Cloudsmith stopped serving the CLI on September 16, 2026, so machines still pointed at it can't install or upgrade the CLI.
</Warning>
## Get started
Install the CLI, log in, and connect it to a project:
<CardGroup cols={2}>
<Card title="Install" icon="download" href="/cli/install">
Install the CLI on macOS, Windows, or Linux
</Card>
<Card title="Quickstart" icon="rocket" href="/cli/usage">
Log in and find the CLI guide for each product
</Card>
<Card title="Upgrade" icon="refresh-cw" href="/cli/upgrade">
Upgrade the CLI to the latest version
</Card>
<Card title="Project configuration" icon="file-cog" href="/cli/project-config">
Link a directory to an Infisical project with `.infisical.yaml`
</Card>
</CardGroup>
<CardGroup cols={2}>
<Card title="FAQ" icon="circle-question-mark" href="/cli/faq">
Answers to common problems, such as keyring errors
</Card>
<Card title="Troubleshooting errors" icon="triangle-alert" href="/cli/troubleshooting">
Find out why a command failed from the error it prints
</Card>
</CardGroup>
## Command reference
Look up a command's arguments, flags, and examples:
<Card title="Command reference" icon="square-terminal" href="/cli/reference">
Every CLI command and the global flags they share
</Card>