--- title: hydrogen logout description: Log out from the current shop. api_name: shopify-cli source_url: html: https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-logout md: https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-logout.md --- # hydrogen logout Log out from the current shop. ## Flags The following flags are available for the `hydrogen logout` command: * **--path \** **string** **env: SHOPIFY\_HYDROGEN\_FLAG\_PATH** The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run. Examples ### Examples * #### hydrogen logout ##### hydrogen logout ```bash shopify hydrogen logout [flags] ```