npm i bootstrap 4.5 code example Example 1: install bootstrap 4 npm npm install bootstrap@latest Example 2: bootstrap 4.6 npm npm install bootstrap