- Ask the user for their Kit code.
- Fetch Kit details to determine version and available families:
faCLI: First verify auth by runningfa whoami. If logged in (orFA_API_TOKENis set), runfa kit show --kit-token <code>to get the Kit's technology setting. If not authenticated, prompt the user to runfa loginin a separate terminal first, or fall back below.- Fallback: Run
./scripts/fetch-kit.py --kit-id <code>(in theadd-iconskill directory).
- Configure the npm registry for the
@awesome.mescope. Add to.npmrcin the project root:Tell the user they need to set the@awesome.me:registry=https://npm.fontawesome.com/ //npm.fontawesome.com/:_authToken=${FA_PACKAGE_TOKEN}FA_PACKAGE_TOKENenvironment variable with their Font Awesome package token (found at https://fontawesome.com/account/general under "Package Manager Tokens"). - Install the Kit package:
- npm:
npm install @awesome.me/kit-<code> - yarn:
yarn add @awesome.me/kit-<code> - pnpm:
pnpm add @awesome.me/kit-<code>
- npm:
- Add the framework-specific initialization code (see
path-f-framework-init.md).