yarn install older component version code example Example: yarn add specific version // for specific versions yarn add package-name@1.2.3