1.1.1. prepare:
1 Run the following steps to set Azure Artifacts as your registry for @bentley scoped packages:
npm config set @bentley:registry=https://pkgs.dev.azure.com/bentleycs/_packaging/Packages/npm/registry/
npm config set always-auth=true
2 Windows-only
The following set of commands only run in CMD, TCC or Powershell. (Any bash based terminal will not work.)
cd /d %UserProfile%
npm install -g vsts-npm-auth --registry https://registry.npmjs.com --always-auth false
vsts-npm-auth -config .npmrc
1.1.2. download:
git clone https://bentleycs@dev.azure.com/bentleycs/iModelTechnologies/_git/imodeljs