Skip to content

How do i use cli in codespaces? #3480

Answered by mislav
DerekChia asked this question in Q&A
Discussion options

You must be logged in to vote

GitHub CLI is already pre-installed and pre-authenticated in Codespaces. You do not have to do anything special before starting using it.

The gh auth login command is saying that the CLI is already authenticated via the GITHUB_TOKEN environment variable. Sorry if this is unclear. We should perhaps adjust the message to tell you that you are already authenticated.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vilmibm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants