差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| programming_language:deno [2022/09/17 12:17] – 作成 ともやん | programming_language:deno [2022/09/17 23:17] (現在) – [インストール] ともやん | ||
|---|---|---|---|
| 行 5: | 行 5: | ||
| ===== インストール ===== | ===== インストール ===== | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | $ curl -fsSL https:// | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | ######################################################################## | ||
| + | Archive: | ||
| + | inflating: / | ||
| + | Deno was installed successfully to / | ||
| + | Manually add the directory to your $HOME/ | ||
| + | export DENO_INSTALL="/ | ||
| + | export PATH=" | ||
| + | Run '/ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | $ cat << ' | ||
| + | export DENO_INSTALL="/ | ||
| + | export PATH=" | ||
| + | EOF | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | </ | ||
| + | </ | ||
| + | ※ヒアドキュメントの ' | ||
| + | |||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | $ . $HOME/ | ||
| + | $ deno --help | ||
| + | </ | ||
| + | <WRAP color_result_long>< | ||
| + | deno 1.25.3 | ||
| + | A modern JavaScript and TypeScript runtime | ||
| + | |||
| + | Docs: https:// | ||
| + | Modules: https:// | ||
| + | Bugs: https:// | ||
| + | |||
| + | To start the REPL: | ||
| + | |||
| + | deno | ||
| + | |||
| + | To execute a script: | ||
| + | |||
| + | deno run https:// | ||
| + | |||
| + | To evaluate code in the shell: | ||
| + | |||
| + | deno eval " | ||
| + | |||
| + | USAGE: | ||
| + | deno [OPTIONS] [SUBCOMMAND] | ||
| + | |||
| + | OPTIONS: | ||
| + | -h, --help | ||
| + | Print help information | ||
| + | |||
| + | -q, --quiet | ||
| + | Suppress diagnostic output | ||
| + | |||
| + | --unstable | ||
| + | Enable unstable features and APIs | ||
| + | |||
| + | -V, --version | ||
| + | Print version information | ||
| + | |||
| + | SUBCOMMANDS: | ||
| + | bench | ||
| + | Run benchmarks | ||
| + | bundle | ||
| + | Bundle module and dependencies into single file | ||
| + | cache | ||
| + | Cache the dependencies | ||
| + | check | ||
| + | Type-check the dependencies | ||
| + | compile | ||
| + | UNSTABLE: Compile the script into a self contained executable | ||
| + | completions | ||
| + | Generate shell completions | ||
| + | coverage | ||
| + | Print coverage reports | ||
| + | doc | ||
| + | Show documentation for a module | ||
| + | eval | ||
| + | Eval script | ||
| + | fmt | ||
| + | Format source files | ||
| + | help | ||
| + | Print this message or the help of the given subcommand(s) | ||
| + | info | ||
| + | Show info about cache or info related to source file | ||
| + | init | ||
| + | Initialize a new project | ||
| + | install | ||
| + | Install script as an executable | ||
| + | lint | ||
| + | Lint source files | ||
| + | lsp | ||
| + | Start the language server | ||
| + | repl | ||
| + | Read Eval Print Loop | ||
| + | run | ||
| + | Run a JavaScript or TypeScript program | ||
| + | task | ||
| + | Run a task defined in the configuration file | ||
| + | test | ||
| + | Run tests | ||
| + | types | ||
| + | Print runtime TypeScript declarations | ||
| + | uninstall | ||
| + | Uninstall a script previously installed with deno install | ||
| + | upgrade | ||
| + | Upgrade deno executable to given version | ||
| + | vendor | ||
| + | Vendor remote modules into a local directory | ||
| + | |||
| + | ENVIRONMENT VARIABLES: | ||
| + | DENO_AUTH_TOKENS | ||
| + | | ||
| + | | ||
| + | (e.g. " | ||
| + | DENO_TLS_CA_STORE | ||
| + | | ||
| + | | ||
| + | DENO_CERT | ||
| + | DENO_DIR | ||
| + | DENO_INSTALL_ROOT | ||
| + | | ||
| + | DENO_NO_PROMPT | ||
| + | | ||
| + | DENO_WEBGPU_TRACE | ||
| + | DENO_JOBS | ||
| + | flag with the test subcommand. Defaults to number | ||
| + | of available CPUs. | ||
| + | HTTP_PROXY | ||
| + | | ||
| + | HTTPS_PROXY | ||
| + | | ||
| + | NO_COLOR | ||
| + | NO_PROXY | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== 参考文献 ===== | ||
| + | [[qita> | ||
| + | |||
| + | ==== 付録 ==== | ||
| + | [[tw> | ||