diff --git a/testimage.sh b/testimage.sh
index a57939332cfb032aa1008f9f16ec6f00f828a059..6bd6bc19dc319029e06b6691976ad0d5410b97ef 100644
--- a/testimage.sh
+++ b/testimage.sh
@@ -1,5 +1,6 @@
 #!/bin/bash
 export PATH="/ci/bin:/ci/vendor/bin:$PATH"
+. ~/.nvm/nvm.sh
 git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
 moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfexplicitvaildate
 moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfcbmexplicitvaildate