Get started with the CLI (video tutorial)
Last updated: Feb-19-2025
On this page:
Overview
Watch this tutorial to learn how to install and configure the Cloudinary CLI.
Video tutorial
Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
Check if Python is installed
To use the Cloudinary CLI, you need Python 3.6 or later. You can install Python from https://www.python.org. The Python Package Installer (pip ) is installed with it. |
Install the Cloudinary CLI package
To install the Cloudinary CLI, run:pip3 install cloudinary-cli
|
Set up your environment variable
To make all your cld commands point to your Cloudinary product environment, set up your CLOUDINARY_URL environment variable. Obtain your environment variable from the API Keys page of the Cloudinary Console Settings.
|
Check the configuration
To check the configuration, run:cld config
|
Run the help command
For a list of commands, enter:cld --help
|
Run the admin command
To see the available Admin API methods, enter:cld admin
|
Run the uploader command
To see the available upload API methods, enter:cld uploader
|
Run the search command
To show the usage for the search API, enter:cld search --help
|
Upload a video
Upload the video, CLI_setup.mp4, setting the public ID and folder options:cld uploader upload CLI_setup.mp4 public_id=setup folder=cli_video
|
Watch the uploaded video
Use the url command to open a video in a browser:cld url -rt video -o cli_video/setup
|
Keep learning
Related topics
- Learn more in the Cloudinary CLI reference.
- Read about the Cloudinary CLI in this blog post.
If you like this, you might also like...
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
✖️