From 0dfd39f7c207a1f31b7b370ece0813741045097c Mon Sep 17 00:00:00 2001 From: Tomas Pilar Date: Fri, 14 Jul 2023 09:37:14 +0200 Subject: [PATCH] chore(install): force updates to the latest version Signed-off-by: Tomas Pilar --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a602ffd..76e2dba 100755 --- a/install.sh +++ b/install.sh @@ -76,13 +76,13 @@ PROFILE_PATH=$(detect_profile) if [ -n "$HAS_NVM_INSTALLED" ]; then echo "Installing @ibm-generative-ai/cli ..." - npm install --loglevel error -g @ibm-generative-ai/cli + npm install --loglevel error -g @ibm-generative-ai/cli@latest else INSTALL_DIR="$HOME/.genai/cli" mkdir -p "$INSTALL_DIR" echo "Installing @ibm-generative-ai/cli ..." - npm install --prefix="$INSTALL_DIR" --quiet -g @ibm-generative-ai/cli + npm install --prefix="$INSTALL_DIR" --quiet -g @ibm-generative-ai/cli@latest export PATH="$INSTALL_DIR/bin:$PATH"