diff --git a/lib/rvc/modules/vim.rb b/lib/rvc/modules/vim.rb
index <HASH>..<HASH> 100644
--- a/lib/rvc/modules/vim.rb
+++ b/lib/rvc/modules/vim.rb
@@ -81,7 +81,7 @@ def connect uri, opts
   unless opts[:rev]
     # negotiate API version
     rev = vim.serviceContent.about.apiVersion
-    vim.rev = [rev, '4.1'].min
+    vim.rev = [rev, ENV['RVC_VIMREV'] || '4.1'].min
   end
 
   isVC = vim.serviceContent.about.apiType == "VirtualCenter"
allow RVC_VIMREV environment variable to override maximum supported version