theswerd
theswerd3w ago

DENO_FUTURE=1 / Deno 2 in deno subhosting

How do I run with DENO_FUTURE=1 or Deno 2 in deno subhosting?
1 Reply
Deno AI Helper
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, it seems like you're trying to enable future features or use a future version of Deno in a subhosting environment. If you're looking to enable experimental features or a future version of Deno, you would typically set an environment variable. However, the exact method to set environment variables can depend on the hosting environment you're using. If you're using a command line interface, you might set an environment variable like this before running your Deno command:
export DENO_FUTURE=1
deno run your_script.ts
export DENO_FUTURE=1
deno run your_script.ts
Or you might prefix your Deno command with the environment variable:
DENO_FUTURE=1 deno run your_script.ts
DENO_FUTURE=1 deno run your_script.ts
Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of this advice and consult the documentation or support resources for your specific subhosting platform to find the correct way to set environment variables or enable future features in that environment.