First of all, let's install the CLI:  
```
>>> pip install -U "huggingface_hub[cli]"
```  
<Tip>  
In the snippet above, we also installed the `[cli]` extra dependencies to make the user experience better, especially when using the `delete-cache` command.  
</Tip>  
Once installed, you can check that the CLI is correctly setup:  
```
>>> huggingface-cli --help
usage: huggingface-cli <command> [<args>]

positional arguments:
{env,login,whoami,logout,repo,upload,download,lfs-enable-largefiles,lfs-multipart-upload,scan-cache,delete-cache,tag}
huggingface-cli command helpers
env                 Print information about the environment.
login               Log in using a token from huggingface.co/settings/tokens
whoami              Find out which huggingface.co account you are logged in as.
logout              Log out
repo                {create} Commands to interact with your huggingface.co repos.
upload              Upload a file or a folder to a repo on the Hub
download            Download files from the Hub
lfs-enable-largefiles
Configure your repository to enable upload of files > 5GB.
scan-cache          Scan cache directory.
delete-cache        Delete revisions from the cache directory.
tag                 (create, list, delete) tags for a repo in the hub

options:
-h, --help            show this help message and exit
```  
If the CLI is correctly installed, you should see a list of all the options available in the CLI. If you get an error message such as `command not found: huggingface-cli`, please refer to the [Installation](../installation) guide.  
<Tip>  
The `--help` option is very convenient for getting more details about a command. You can use it anytime to list all available options and their details. For example, `huggingface-cli upload --help` provides more information on how to upload files using the CLI.  
</Tip>