How do I log in to PikPak CLI?
Run pikpak auth login. What happens next depends on your setup:
- On a computer with a browser, PikPak CLI opens the PikPak authorization page. Review the requested permissions and confirm the connection.
- On a remote machine without a browser, such as a server accessed over SSH, PikPak CLI displays a link and a short code. Open the link on another device, enter the code, review the permissions, and confirm.
For fully unattended setups such as cron jobs or a NAS, use a Personal Access Token instead of interactive login.
Each device or session appears in Account & Security > Connected Apps, where you can review or remove it remotely. To sign out from the current session in PikPak CLI, run pikpak auth logout.