obs-cli command not found

In this troubleshooting guide we learn how to fix obs-cli command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

obs-cli: command not found

or when using sudo you get the following error message

sudo: obs-cli: command not found

Solutions to obs-cli: command not found

How To Fix obs-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu obs-cli is provided by obs-cli package.

obs-cli is:

OBS-cli is a command-line remote control for Open Broadcaster Software (OBS) Studio. It requires the obs-websocket plugin to be installed on your system.

obs-cli supports following commands:

  • label countdown/text
  • recording start/status/stop/toggle
  • scene switch
  • sceneitem center/hide/list/show/toggle
  • source list/toggle-mute
  • stream start/status/stop/toggle

To fix this problem, we can install more using the command below.

sudo apt-get -y install obs-cli

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install obs-cli.

sudo apt -y install obs-cli

Or if you have aptitude installed you can use the following command.

sudo aptitude install obs-cli

Summary

In this tutorial we learn how to fix obs-cli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.