1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/mos-checklist-rosa-cli.adoc

34 lines
987 B
Plaintext

// Module included in the following assemblies:
//
// * rosa_planning/rosa-cloud-expert-prereq-checklist.adoc
:_mod-docs-content-type: PROCEDURE
[id="mos-checklist-_{context}"]
= {rosa-cli-first}
[role="_abstract"]
Install the {rosa-cli} on in your local environment.
.Procedure
. Install the {rosa-cli} from the link:https://console.redhat.com/openshift/downloads#tool-rosa[web console].
. Log in to your Red{nbsp}Hat account by running `rosa login` and following the instructions in the command output:
+
[source,terminal]
----
$ rosa login
To login to your Red{nbsp}Hat account, get an offline access token at https://console.redhat.com/openshift/token/rosa
? Copy the token and paste it here:
----
+
Alternatively, you can copy the full `$ rosa login --token=abc...` command and paste that in the terminal:
+
[source,terminal]
----
$ rosa login --token=<abc..>
----
. Confirm you are logged in using the correct account and credentials:
+
[source,terminal]
----
$ rosa whoami
----