diff --git a/cli/commands/get.js b/cli/commands/get.js
index <HASH>..<HASH> 100644
--- a/cli/commands/get.js
+++ b/cli/commands/get.js
@@ -126,6 +126,8 @@ class GetCommand extends Command {
         }
       }
 
+      !fs.existsSync('/tmp') && fs.mkdirSync('/tmp');
+      !fs.existsSync('/tmp/stdlib') && fs.mkdirSync('/tmp/stdlib', 0o777);
       let tmpPath = `/tmp/${service.replace(/\//g, '.')}.tgz`;
       try {
         fs.writeFileSync(tmpPath, response);
Creates /tmp/stdlib in lib get if it does not exist