Executes dependency installation in the service environment.

Section: Developer Workflows

Install dependencies in app service

bash
bash
docker compose run --rm app npm install
Explanation

Useful when the project expects toolchains inside the container.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Developer Workflows
Watch files and sync/rebuild
Watches project files and applies sync or rebuild actions when configured.
OpenIn sheetbashsame section
Run test suite in service
Runs tests in a disposable service container.
OpenIn sheetbashsame section
Scale a service
Starts multiple instances of a service.
OpenIn sheetbashsame section
Run database migration
Runs a migration task in an ephemeral application container.
OpenIn sheetbashsame section
Validate effective config
Checks whether the Compose config is valid without printing it.
OpenIn sheetbash2 tag match
Build stack in CI
Builds the project with CI-specific overrides applied.
OpenIn sheetbash2 tag match