enx up
Bootstrap the project environment.
Table of Contents
- TOC
Usage
enx up
Description
Must be run inside a directory with an enx.toml file. Executes the steps defined in the [up] section to bootstrap the project environment — installing dependencies, running migrations, starting services, etc.
Platform overrides
If platform-specific steps are defined (e.g. [up.linux], [up.macos], [up.windows]), those steps are used instead of the base [up.steps] on the matching platform.
Step execution
Each step is executed sequentially as a shell command. A spinner is displayed for each step, and it reports success or failure when it completes.
Example
# enx.toml
[up]
steps = [
"npm install",
"enx run db:migrate",
]
[up.linux]
steps = ["sudo apt-get install -y libssl-dev"]
[up.macos]
steps = ["brew install openssl"]
$ enx up
▸ Running setup for "my-app"
✓ npm install
✓ enx run db:migrate
✓ Environment ready!
enx upis designed to be idempotent — safe to run multiple times.
See Also
enx down— tear down the environment- Configuration:
[up]— full schema