Last updated: Dec-11-2024
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
0:06 | 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
0:10 | To install the Cloudinary CLI, run:pip3 install cloudinary-cli
|
Set up your environment variable
0:25 | 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
0:54 | To check the configuration, run:cld config
|
Run the help command
1:04 | For a list of commands, enter:cld --help
|
Run the admin command
1:09 | To see the available Admin API methods, enter:cld admin
|
Run the uploader command
1:22 | To see the available upload API methods, enter:cld uploader
|
Run the search command
1:31 | To show the usage for the search API, enter:cld search --help
|
Upload a video
1:40 | 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
2:11 | 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...
Scripting with the CLI
Use a script to create an animated GIFGet Creative with the CLI
Create an image sprite from pages of a PDFUpload with the CLI
Apply background removal to images on upload
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.
✖️