diff --git a/cli/packages/util/check-for-update.go b/cli/packages/util/check-for-update.go index 28a1890c8..87832a9ce 100644 --- a/cli/packages/util/check-for-update.go +++ b/cli/packages/util/check-for-update.go @@ -14,6 +14,9 @@ import ( ) func CheckForUpdate() { + if checkEnv := os.Getenv("INFISICAL_DISABLE_UPDATE_CHECK"); checkEnv != "" { + return + } latestVersion, err := getLatestTag("Infisical", "infisical") if err != nil { // do nothing and continue