Open kharmony opened 2 months ago
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.
Changed:
LOCATION=$(command -v okta)
To:
LOCATION=""
It then completed the installation without issue. Running Ubuntu 22.04 LTS.
Same problem, worked flawlessly with your solution.
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.
Changed:
LOCATION=$(command -v okta)
To:
LOCATION=""
It then completed the installation without issue. Running Ubuntu 22.04 LTS.