skills/nvm-skills/nvm-docker-ci/SKILL.md
Install and configure nvm in Docker containers and CI/CD pipelines, including non-interactive shell loading via BASH_ENV or ENTRYPOINT. Use when the user asks about nvm in Docker, CI/CD nvm setup, GitHub Actions node version management, or troubleshooting nvm in non-interactive shells.
npx skillsauth add teachingai/agent-skills nvm-docker-ciInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Configure nvm for containerized and CI/CD environments where shells run non-interactively.
Install nvm in a Dockerfile:
ENV NVM_DIR=/usr/local/nvm
ENV NODE_VERSION=20.11.0
RUN mkdir -p $NVM_DIR \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION
# Make nvm available in non-interactive shells
ENV BASH_ENV="$NVM_DIR/nvm.sh"
Load nvm in CI/CD jobs (e.g., GitHub Actions):
steps:
- run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install 20
nvm use 20
node -v
Validate nvm availability in the container or pipeline:
docker run --rm my-image bash -c "nvm --version && node -v"
Note: Base installation steps are in nvm-install. This skill targets container and CI usage only.
examples/install-docker.md - Dockerfile nvm installationexamples/install-docker-cicd.md - CI/CD pipeline configurationexamples/docker-dev.md - Development container setupdocker, ci, bash_env, entrypoint, non-interactive shell, nvm in container, GitHub Actions
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.