Skip to content

Linux CLI install with curl script not completing #558

@kharmony

Description

@kharmony

Just FYI. I tried running the command per the installation instructions:

curl https://raw.githubusercontent.com/okta/okta-cli/master/cli/src/main/scripts/install.sh | bash

I confirmed everything was downloaded and put in the proper directory, but when I ran okta register it would always say okta command not found.

Ultimately I downloaded the install.sh script and modified it as such to get it to work.

image

Changed:

LOCATION=$(command -v okta)

To:

LOCATION=""

It then completed the installation without issue. Running Ubuntu 22.04 LTS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions