---
title: "install:extensionsetupifpossible"
manual: "TYPO3 Console"
version: "main"
permalink: "https://docs.typo3.org/permalink/helhum/typo3-console:typo3-console-command-reference-install-extensionsetupifpossible@main"
source: "CommandReference/InstallExtensionsetupifpossible.rst"
rendered: "2026-11-30T08:45:29+00:00"
---

# install:extensionsetupifpossible {#typo3-console-command-reference-install-extensionsetupifpossible}

**Setup TYPO3 with extensions if possible**

This command tries up all TYPO3 extensions, but quits gracefully if this is not possible.
This can be used in `composer.json` scripts to ensure that extensions
are always set up correctly after a composer run on development systems,
but does not fail on packaging for deployment where no database connection is available.

Besides that, it can be used for a first deploy of a TYPO3 instance in a new environment,
but also works for subsequent deployments.

## Options {#options}

-   **`--fail-on-error`**

    Instead of gracefully exiting this command if something goes wrong, throw an error

-   Accept value: no
-   Is value required: no
-   Is multiple: no
-   Default: false
