Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: option to disable update check

jon4hz933f837f6488
diff --git a/cli/packages/util/check-for-update.go b/cli/packages/util/check-for-update.go
index 28a1890c82..87832a9cea 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