What is Deno
Install deno (MacOS, Linux)
# [Caution] vscode deno plugin error may occur later
$ curl -fsSL https://deno.land/x/install/install.sh | sh
# Via brew (Recommended)
$ brew install denoSimple example
$ deno run https://deno.land/std/examples/welcome.ts
Welcome to Deno 🦕File Server example
# Wrong approach
$ deno run https://deno.land/std/http/file_server.ts
error: Uncaught PermissionDenied: read access to "/Users/seokjepark/Code/TIL", run again with the --allow-read flag
# Right approach
$ deno run --allow-net --allow-read https://deno.land/std/http/file_server.ts
HTTP server listening on http://0.0.0.0:4507/Write File example
Install
Uninstall
VSCode Extensions
Reference site
Last updated