YTSEARCH CLI DOCUMENTATION
Search YouTube from the command line.
Install YTSearch CLI, run your first search, then explore commands, output formats, interactive mode, pagination, errors, and compatibility.
Install
$
npm install -g ytsearch-cliFirst search
$
ytsearch video "javascript tutorial"Command reference
ytsearch searchSearch across all YouTube content typesytsearch videoSearch for YouTube videosytsearch channelSearch for YouTube channelsytsearch playlistSearch for YouTube playlistsytsearch movieSearch for YouTube moviesytsearch liveSearch for YouTube livestreamsytsearch detailsGet detailed information about a specific videoytsearch playlist-videosGet videos from a playlist with pagination