Перейти до основного змісту
Версія: Next

pnpm logout

Додано у: v11.0.0

Log out of an npm registry. Revokes the authentication token on the registry and removes it from the local auth config file.

pnpm logout [--registry <url>] [--scope <scope>]

If a scope is provided, the registry associated with that scope is used.

The token is removed from <pnpm config>/auth.ini.

Параметри

--registry <url>

The registry to log out from. Стандартним значенням є типовий налаштований реєстр.

--scope <scope>

Use the registry associated with the given scope.