deno run <script_arg...>

Run a JavaScript or TypeScript program

Arguments

NameDescription
script_argfilepaths

Options

NameDescription
--import-map [import-map]Load import map file
-c, --config [config]Specify the configuration file
--no-check [no-check...]Skip type-checking modules
--check [check...]Type-check modules
-r, --reload [reload...]Reload source code cache (recompile TypeScript)
--lock [lock]Check the specified lock file
--cert [cert]Load certificate authority from PEM encoded file
--allow-read [allow-read...]Allow file system read access
--allow-write [allow-write...]Allow file system write access
--allow-net [allow-net...]Allow network access
--unsafely-ignore-certificate-errors [unsafely-ignore-certificate-errors...]DANGER: Disables verification of TLS certificates
--allow-env [allow-env...]Allow environment access
--allow-run [allow-run...]Allow running subprocesses
--allow-ffi [allow-ffi...]Allow loading dynamic libraries
--inspect [inspect...]Activate inspector on host:port (default: 127.0.0.1:9229)
--inspect-brk [inspect-brk...]Activate inspector on host:port and break at start of user script
--location [location]Value of 'globalThis.location' used by some web APIs
--v8-flags [v8-flags]Set V8 command line options
--seed [seed]Set the random number generator seed
--watch [watch...]Watch for file changes and restart automatically
-L, --log-level [log-level]Set log level
--no-remoteDo not resolve remote modules
--no-configDisable automatic loading of the configuration file
--lock-writeWrite lock file (use with --lock)
--allow-hrtimeAllow high resolution time measurement
-A, --allow-allAllow all permissions
--promptDeprecated: Fallback to prompt if required permission wasn't passed
--no-promptAlways throw if required permission wasn't passed
--cached-onlyRequire that remote dependencies are already cached
--enable-testing-features-do-not-useINTERNAL: Enable internal features used during integration testing
--compatUNSTABLE: Node compatibility mode
--no-clear-screenDo not clear terminal screen when under watch mode
-h, --helpPrint help information
--unstableEnable unstable features and APIs
-q, --quietSuppress diagnostic output