diff --git a/packages/workspace/src/migrations/update-13-9-0/replace-tao-with-nx.ts b/packages/workspace/src/migrations/update-13-9-0/replace-tao-with-nx.ts index 536bbf1fcc073..b1fe9e11479ae 100644 --- a/packages/workspace/src/migrations/update-13-9-0/replace-tao-with-nx.ts +++ b/packages/workspace/src/migrations/update-13-9-0/replace-tao-with-nx.ts @@ -1,4 +1,9 @@ -import { Tree, updateJson } from '@nrwl/devkit'; +import { + getPackageManagerCommand, + logger, + Tree, + updateJson, +} from '@nrwl/devkit'; export function replaceTaoWithNx(host: Tree) { updateJson(host, 'package.json', (json: any) => { @@ -11,6 +16,10 @@ export function replaceTaoWithNx(host: Tree) { removeTao(json.devDependencies); return json; }); + const pmc = getPackageManagerCommand(); + logger.info( + `Please run ${pmc.install} to ensure the correct version of Nx is installed.` + ); } function removeTao(json: any) {