Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux CLI install with curl script not completing #558

Open
kharmony opened this issue Sep 20, 2024 · 1 comment
Open

Linux CLI install with curl script not completing #558

kharmony opened this issue Sep 20, 2024 · 1 comment

Comments

@kharmony
Copy link

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.

@carlafernandezbain
Copy link

Same problem, worked flawlessly with your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants