Reinstalling the AEK CLI
Updated November 2022: the new version of the AEK CLI has been released. The versions below have been updated. We’ve also added a recommendation to clear your yarn cache, as this can often cause problems when updating the CLI.
The AEK CLI is designed to be installed under a supported version of Node.js. Currently that’s 14.x, and we’re looking to add support for 16.x next year. This is a quick guide to just reset your installation if something has gone wrong.
This assumes you’ve already followed all the setup around Yarn and the system path (that shouldn’t be removed when you uninstall Yarn), as well as gulp, in this blog post.
npm uninstall -g @ombiel/aek-cli
yarn global remove @ombiel/aek-cli
yarn cache clean
- Test with the following in your terminal:
aek
- This should now return an error. Now do the following, in order:
npm config set @ombiel:registry https://npm.campusm.net/
- If in PowerShell, you will need to wrap the registry string in double quotes, e.g.
npm config set "@ombiel:registry" https://npm.campusm.net/
- Check this with
npm config list
. Some terminal software may require the URL to be wrapped in quotes.
- If in PowerShell, you will need to wrap the registry string in double quotes, e.g.
yarn global add https://npm.campusm.net/get/aek-cli
- You may have to re-add the Yarn config again (see “Windows users” on this page) before installing the
aek-cli
again.
- You may have to re-add the Yarn config again (see “Windows users” on this page) before installing the
aek --version
at this point should return:- aek-cli-support: 1.3.0
- aek-cli: 1.3.1