Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(install): show CLI output on success and always display post-install guidance

jkomyno067c67b69552
diff --git a/install.sh b/install.sh
index 7a39b7e91..2b23d9aa2 100755
--- a/install.sh
+++ b/install.sh
@@ -170,8 +170,9 @@ success "Composio CLI was installed successfully to $Bold_Green$(tildify "$exe")
echo
-if COMPOSIO_INSTALL_DIR="$COMPOSIO_INSTALL_DIR" "$exe" install 2>/dev/null; then
- : # CLI handled everything
+install_err=$(mktemp)
+if COMPOSIO_INSTALL_DIR="$COMPOSIO_INSTALL_DIR" "$exe" install 2>"$install_err"; then
+ cat "$install_err" >&2 # Show CLI's TerminalUI output on success
else
info "Setting up shell integration..."
@@ -261,14 +262,16 @@ else
;;
esac
- echo
- info "To get started, run:"
- echo
+fi
+rm -f "$install_err"
- if [[ $refresh_command ]]; then
- info_bold " $refresh_command"
- fi
+echo
+info "To get started, run:"
+echo
- info_bold " composio --help"
- info_bold " composio login"
+if [[ ${refresh_command:-} ]]; then
+ info_bold " $refresh_command"
fi
+
+info_bold " composio --help"
+info_bold " composio login"