Documentation menu

Commands

flog login

Authenticate with an npm registry.

Usage#

flog login [--registry <url>]

Examples#

flog login
flog login --registry https://registry.npmjs.org

Options and behaviour#

Flog stores the credential in the user npmrc. --registry <url> selects the registry explicitly. Never commit credentials into a repository.

Run flog help login for complete current help.

Registry and authentication · Whoami · Logout