CLI
The YouViCo CLI is the quickest way to use YouViCo from a terminal. It uses the official JavaScript SDK under the hood and prints command results as JSON.
Install
The CLI supports Node.js 20 and higher.
npm install -g @youvico/cliCheck that the command is available:
youvico --helpAuthenticate
Create an API key in Settings -> API Keys, then save it locally:
youvico auth apiSaved API keys are stored in ~/.config/youvico/config.json with 0600 permissions. The key is never printed in CLI output.
You can also provide an API key with an environment variable:
YOUVICO_API_KEY=YOUR_API_KEY youvico project search --query="launch"Check or clear the saved key:
youvico auth status
youvico auth clearConfigure the client
Use config commands to inspect or override client options.
youvico config get
youvico config set --base-url https://api.youvico.com
youvico config set --timeout-ms 30000
youvico config clear --base-url
youvico config clear --timeout-ms
youvico config clearCommon examples
Search projects:
youvico project search --query="launch"Upload a local file:
youvico file upload.file --project=bdbff5de-96d7-468f-9db0-85fe28bd6b62 --path=./launch.mp4 --name=launch.mp4List comments on a file:
youvico comment list --file=FX1234567890ABCDFor endpoint-specific commands, open the matching API reference page and switch the example tab to CLI.
Upload files
For local file uploads, use youvico file upload.file.
youvico file upload.file --project=bdbff5de-96d7-468f-9db0-85fe28bd6b62 --path=./launch.mp4 --name=launch.mp4The CLI uses the SDK files.upload helper. It starts the multipart upload, uploads each part, and completes the upload automatically.
Output and confirmations
Command results are printed as JSON.
Delete commands ask for confirmation by default. Pass --yes to skip the prompt in scripts:
youvico file delete --id FX1234567890ABCD --yesGet help
Use --help on any command group or command:
youvico file --help
youvico file upload.file --helpAPI reference pages include CLI, SDK, and cURL example tabs. For multipart upload endpoints, the CLI tab shows the file upload.file helper because those endpoints are not called directly from the CLI.