Installing command line programs

Introduction

Throughout our documentation, we are referring to different programs to be executed on the command line. On different OS, users have different options to install and run them.

This documentation section provides an overview about some of the programs and gives a guideline about how to install them on different platforms.

List of programs


Installing command line programs on Linux

Depending on your flavour of Linux, there are different options to install the designated programs.

Debian

# Get hold of a MQTT client of your choice
aptitude install mosquitto-clients

Installing command line programs on macOS

On macOS, users have different options to install the designated programs.

Homebrew

  1. Install the Homebrew package manager.

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Install mosquitto_pub and httpie

    brew install mosquitto httpie

Macports

Likewise.

Installing command line programs on Windows

On Windows, users have different options to install the designated programs.

Windows native

  1. Install the Chocolatey package manager, see https://chocolatey.org/install.
  2. Install Python3 and the Python httpie package
    choco install python3
    pip3 install httpie
    
  3. Install the MQTT.fx MQTT client
    choco install mqttfx

LinuxOnWindows aka. WSL

After running "bash" from “Start program” on Windows 10 and above, you will find yourself inside a recent Ubuntu installation, so all programs can be conveniently installed using apt, like

apt install mosquitto-clients httpie