卷曲没有连接

问题描述

在这里尝试安装自制软件:

Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Couldn't connect to server
Elijahs-MacBook-Air:~ jah$ 

这是我要安装Deno的地方:

Elijahs-MacBook-Air:~ jah$ curl -fsSL https://deno.land/x/install/install.sh | sh
curl: (7) Couldn't connect to server
Elijahs-MacBook-Air:~ jah$ 

解决方法

我在Mojave机器上运行命令没有问题。

$  curl -fsSL https://deno.land/x/install/install.sh | sh
######################################################################## 100.0%##O#-#                          ######################################################################## 100.0%
Archive:  /Users/rchen/.deno/bin/deno.zip
  inflating: deno
Deno was installed successfully to /Users/rchen/.deno/bin/deno
Manually add the directory to your $HOME/.bash_profile (or similar)
  export DENO_INSTALL="/Users/rchen/.deno"
  export PATH="$DENO_INSTALL/bin:$PATH"
Run '/Users/rchen/.deno/bin/deno --help' to get started

地安装检查

$ /Users/rchen/.deno/bin/deno --help
deno 1.2.3
A secure JavaScript and TypeScript runtime

Docs: https://deno.land/manual
Modules: https://deno.land/std/ https://deno.land/x/
Bugs: https://github.com/denoland/deno/issues

To start the REPL:
  deno
...

由于您已标记homebrew,可以为我运行brew configbrew doctor吗?谢谢!