diff --git a/install.ts b/install.ts index 51b3dad..b48b8f5 100644 --- a/install.ts +++ b/install.ts @@ -227,6 +227,9 @@ const main = async () => { "After adding it, please restart your terminal to apply the changes." ); } catch (error) { + if (error instanceof Error) { + console.error(`\n${error.message}`); + } console.error('\n❌ Installation failed. Please check the error messages above.'); exit_code = 1; } finally {