Skip to content
Pinner.xyz

This page is auto-generated. Do not edit directly. To update, modify the CLI source in pinner-cli and run pnpm generate:clil.

setup

pinner setup [flags]

Run the interactive setup wizard to configure your Pinner.xyz CLI environment. This wizard will guide you through authentication and configuration.

If you've already run setup, you can skip steps or reconfigure.

 
pinner setup
 
pinner setup --skip-auth
 
pinner setup --skip-config
 
pinner setup --reset
FlagAliasDescription
--skip-authSkip authentication step
--skip-configSkip configuration step
--resetReset configuration and start fresh
--non-interactiveRun in non-interactive mode (skip wizard)

auth

pinner auth [token] [flags]

Authenticate with the Pinner.xyz service.

Ways to authenticate: 1. Provide an auth token directly: pinner auth <token> 2. Interactive login: pinner auth (prompts for all inputs) 3. Semi-interactive: pinner auth --email user@example.com (prompts for password and OTP if needed) 4. Non-interactive: PINNER_EMAIL=x PINNER_PASSWORD=*** pinner auth 5. Non-interactive with 2FA: PINNER_EMAIL=x PINNER_PASSWORD=*** PINNER_OTP=123456 pinner auth 6. Secure non-interactive: echo "pass" | pinner auth --email user@example.com

 
pinner auth eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
 
pinner auth --email user@example.com
 
pinner auth --email user@example.com --password mypass --otp-code 123456
 
PINNER_EMAIL=user@example.com PINNER_PASSWORD=mypass pinner auth
 
echo "mypass" | pinner auth --email user@example.com --key-name "my-laptop"
FlagAliasDescription
--emailEmail address for login [env: PINNER_EMAIL]
--passwordPassword for login (WARNING: insecure, prefer stdin or env var) [env: PINNER_PASSWORD]
--otp-codeOTP code for 2FA (6 digits) [env: PINNER_OTP]
--key-nameCustom name for created API key
--no-create-keySkip API key creation, save token directly
--forceOverwrite existing auth token without confirmation

Subcommands:

SubcommandDescription
statusCheck if you are currently authenticated with Pinner.xyz.

status

pinner auth status

Check if you are currently authenticated with Pinner.xyz.

This command verifies that your stored auth token is valid by making a request to the Pinner.xyz API.

 
pinner auth status
 
pinner auth status --json
 
pinner auth status --verbose

register

pinner register [flags]

Register a new user account on Pinner.xyz.

After registration, you will need to confirm your email address using the 'confirm-email' command before you can authenticate.

 
# Interactive mode (prompts for all required fields)
 
pinner register
 
# Non-interactive with flags
 
pinner register --email user@example.com --first-name John --last-name Doe
 
# Mix: provide email, prompt for other fields
 
pinner register --email user@example.com
FlagAliasDescription
--emailEmail address
--first-nameFirst name
--last-nameLast name
--passwordPassword (if not provided, you will be prompted)

confirm-email

pinner confirm-email [flags]

Confirm your email address using the verification token sent to your email.

After registering with 'pinner register', you will receive an email with a verification token. Use this command to confirm your email address.

 
pinner confirm-email --email user@example.com --token abc123def456
 
pinner confirm-email -e user@example.com -t abc123def456
 
After confirmation, authenticate with:
 
pinner auth --email user@example.com
FlagAliasDescription
--emailEmail address (required)
--tokenVerification token from email (required)

account

pinner account

Manage your Pinner.xyz account settings including 2FA configuration.

 
pinner account otp enable
 
pinner account otp enable --otp 123456
 
pinner account otp disable
 
pinner account otp disable --password mypassword

Subcommands:

SubcommandDescription
otpEnable or disable two-factor authentication (2FA) for your account.
api-keysManage API keys for your Pinner.xyz account.

otp

pinner account otp

Enable or disable two-factor authentication (2FA) for your account.

When enabling 2FA, you will receive a secret key that must be added to your authenticator app (e.g., Google Authenticator, Authy). You will then need to verify the setup with a code from your app

Subcommands:

SubcommandDescription
enableEnable 2FA for your account. This will:
disableDisable 2FA for your account. This will:

enable

pinner account otp enable [flags]

Enable 2FA for your account. This will:

  1. Generate a new OTP secret

  2. Display a QR code/secret key for your authenticator app

  3. Prompt you to verify the setup with a code from your app

After successful verification, 2FA will be required for all future logins

FlagAliasDescription
--otpOTP code to verify setup (for non-interactive mode)

disable

pinner account otp disable [flags]

Disable 2FA for your account. This will:

  1. Prompt for your password for verification

  2. Remove 2FA requirement from your account

WARNING: This reduces your account security. Consider re-enabling 2FA

FlagAliasDescription
--passwordPassword for verification (WARNING: insecure, prefer stdin or prompt) [env: PINNER_PASSWORD]

api-keys

pinner account api-keys

Manage API keys for your Pinner.xyz account.

API keys are used to authenticate with the Pinner.xyz service without exposing your login credentials. Each key has a unique token that can be used with --auth-token or the PINNER_AUTH_TOKEN environment variable.

 
pinner account api-keys list
 
pinner account api-keys list --search my-key
 
pinner account api-keys create my-key
 
pinner account api-keys delete my-key
 
pinner account api-keys delete 00000000-0000-0000-0000-000000000001

Subcommands:

SubcommandDescription
listList all API keys for your account.
createCreate a new API key with the given name.
deleteDelete an API key by its UUID or name.

list

pinner account api-keys list [flags]

List all API keys for your account.

Use --search to filter keys by name

FlagAliasDescription
--searchSearch API keys by name

create

pinner account api-keys create

Create a new API key with the given name.

The API key token will be displayed once. Save it securely — it cannot be retrieved later.

This key can be used with:

pinner auth --auth-token <token>

PINNER_AUTH_TOKEN=<token> pinner <command>

delete

pinner account api-keys delete [flags]

Delete an API key by its UUID or name.

If the key being deleted is the one currently used for authentication, the command will be blocked unless --force is used. After deleting your current key, you must re-authenticate with 'pinner auth'

FlagAliasDescription
--forceForce deletion of the API key currently used for authentication