Back to Netlify

Netlify CLI login command

docs/commands/login.md

26.0.1670 B
Original Source

login

<!-- AUTO-GENERATED-CONTENT:START (GENERATE_COMMANDS_DOCS) -->

Login to your Netlify account Opens a web browser to acquire an OAuth token.

Usage

bash
netlify login

Flags

  • check (string) - Check the status of a login ticket created with --request
  • json (boolean) - Output as JSON (for use with --request or --check)
  • new (boolean) - Login to new Netlify account
  • request (string) - Create a login ticket for agent/human-in-the-loop auth
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in
<!-- AUTO-GENERATED-CONTENT:END -->