diff --git a/registry/coder-labs/modules/auggie/scripts/install.sh b/registry/coder-labs/modules/auggie/scripts/install.sh index 11a4f60d..7c3e80f2 100644 --- a/registry/coder-labs/modules/auggie/scripts/install.sh +++ b/registry/coder-labs/modules/auggie/scripts/install.sh @@ -9,6 +9,12 @@ command_exists() { command -v "$1" > /dev/null 2>&1 } +if [ -f "$HOME/.nvm/nvm.sh" ]; then + source "$HOME"/.nvm/nvm.sh +else + export PATH="$HOME/.npm-global/bin:$PATH" +fi + ARG_AUGGIE_INSTALL=${ARG_AUGGIE_INSTALL:-true} ARG_AUGGIE_VERSION=${ARG_AUGGIE_VERSION:-} ARG_MCP_APP_STATUS_SLUG=${ARG_MCP_APP_STATUS_SLUG:-}