mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-05 01:27:28 +00:00
[PR #58] [CLOSED] Feat: Add OPEN_TERMINAL_NPM_PACKAGES Environment Variable #116
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/open-terminal#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-terminal/pull/58
Author: @dennypradipta
Created: 3/12/2026
Status: ❌ Closed
Base:
main← Head:install-npm-packages📝 Commits (2)
088465bFeat: Install NPM Packagesceb46adUse sudo for global packages📊 Changes
2 files changed (+12 additions, -6 deletions)
View changed files
📝
README.md(+6 -6)📝
entrypoint.sh(+6 -0)📄 Description
Summary
This PR adds support for the
OPEN_TERMINAL_NPM_PACKAGESenvironment variable, allowing users to install npm packages globally at container startup in Docker mode. This brings npm package installation parity with the existingOPEN_TERMINAL_PACKAGES(apt) andOPEN_TERMINAL_PIP_PACKAGES(pip) environment variables.Changes
1.
entrypoint.shAdded npm package installation logic that runs when
OPEN_TERMINAL_NPM_PACKAGESis set:2.
README.mdUpdated the "Customizing the Docker Environment" section with:
OPEN_TERMINAL_NPM_PACKAGESUsage
Testing
To test this change:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.