DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Web Security Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Web Security
Why does the topic recommend npm ci over npm install specifically in CI environments?
A
They are functionally identical in every way
B
npm ci installs exactly what the lockfile specifies with no dependency resolution step, removing any possibility of silently resolving to a different (potentially compromised) version than what was actually reviewed
C
npm ci is only for local development, never CI
D
npm install is always faster than npm ci
Check Answer