> V1.1.0 > Commands > Plakar login
Version v1.1.0

Beta Version

You're viewing documentation for version v1.1.0. Beta versions are subject to changes and may not represent the final stable release. Do not use in production environments.

login

PLAKAR-LOGIN(1)General Commands ManualPLAKAR-LOGIN(1)

plakar-loginAuthenticate to Plakar services

plakar login[-no-spawn] [-status] [-email email | -env | -github]

The plakar login command initiates an authentication flow with the Plakar platform. Login is optional for most plakar commands but required to enable certain services, such as alerting. See also plakar-service(1).

Only one authentication method may be specified per invocation: the -email, -env, and -github options are mutually exclusive. If neither is provided, -github is assumed.

The options are as follows:

email
Send a login link to the specified email address. Clicking the link in the received email will authenticate plakar.
Persist the value of the PLAKAR_TOKEN environment variable into the configuration. Generate this token with plakar-token(1).
Use GitHub OAuth to authenticate. A browser will be spawned to initiate the OAuth flow unless -no-spawn is specified.
Do not automatically open a browser window for authentication flows.
Check wether the user is currently logged in. This option cannot be used with any other options.

Start a login via email:

$ plakar login -email user@example.com

Authenticate via GitHub (default, opens browser):

$ plakar login

plakar(1), plakar-logout(1), plakar-service(1)

July 8, 2025Plakar

Found a bug or mistake in the documentation? Create an issue on GitHub