> ## Documentation Index
> Fetch the complete documentation index at: https://docs.payback.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# payback login

> Sign this machine in with GitHub, or with an invite or machine code.

## Usage

```text theme={null}
                                                                                                    
 Usage: payback login [OPTIONS] [invite]                                                            
                                                                                                    
 Sign this machine in with GitHub, or with an invite or machine code (switches account if you were  
 signed in).                                                                                        
                                                                                                    
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   invite      <str>  an invite link or code, or a machine code from `payback add-machine`; none  │
│                      = sign in with GitHub                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --url         <str>  upload endpoint                                                             │
│                      [env var: PAYBACK_UPLOAD_URL]                                               │
│ --help               Show this message and exit.                                                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

```

With no argument, opens the browser to sign in with GitHub. With a machine code from `payback add-machine` on another machine, adds this one to the same account. With an invite link or code, enrolls through that invite. Signing in while already signed in switches the machine to the new account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.