Chapter 2. Installing the command-line assistant powered by RHEL Lightspeed


Before you can start using the command-line assistant powered by RHEL Lightspeed, you must install it through the official RHEL repositories. The command-line assistant is supported in the following architectures:

  • AMD and Intel 64-bit (x86_64)
  • ARM64 (aarch64)
  • IBM Z (s390x)
  • IBM POWER systems (ppc64)

To access the command-line assistant powered by RHEL Lightspeed, install it by using RHEL repositories. Do not use pip install command-line-assistant because Red Hat does not support this installation option.

Prerequisites

Procedure

  • On your RHEL system, run the following command:

    Copy to Clipboard Toggle word wrap
    $ sudo dnf install command-line-assistant

Verification

  • Verify that the installation works by running the command-line assistant. For example:

    Copy to Clipboard Toggle word wrap
    $ c "How to install python?"

    The output looks similar to the following example:

    Copy to Clipboard Toggle word wrap
    +*+ Asking RHEL Lightspeed
    
    To install python....
  • Disable the color output in the command-line assistant. For example:

    Copy to Clipboard Toggle word wrap
    $ c "How to install python?" NO_COLOR=1
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.