Chord OMS
...
Developer Guides
npm Access for @chordcommerce Packages
4 min
all of chord's javascript packages are private and distributed through https //github com/features/packages in order to install these packages, you must configure your package manager of choice to use github packages for all packages in the @chordcommerce namespace step 1 gain access to relevant chord commerce repositories first, you will need to ensure that you have access to chord's javascript repositories you can determine if you have access by clicking on the following links https //github com/chordcommerce/chord js https //github com/chordcommerce/chord ui if you do not have access to these repositories, step 2 configure package managers first, you must generate a github personal access token with the read\ packages packages scope this can be done by visiting https //github com/settings/tokens and clicking "generate token" next, you must take that token and add the following lines to / npmrc / npmrc //npm pkg github com/ authtoken=\<your personal access token> @chordcommerce\ registry=https //npm pkg github com this means that any npm packages with the @chordcommerce scope will be installed from github packages instead of the npm public registry if you have any trouble on this step, see github's documentation on https //docs github com/en/free pro team\@latest/packages/using github packages with your projects ecosystem/configuring npm for use with github packages step 3 install packages if step 2 is done correctly, commands like the following should work without any issues yarn yarn add @chordcommerce/react autonomy npm npm install @chordcommerce/react autonomy