1. 程式人生 > >macOS 10.13 安裝telnet方法

macOS 10.13 安裝telnet方法

zsh: command not found: telnet

新版本的macos 已經將telnet這個命令去掉了。

使用 brew install telnet 安裝,我最開始是使用sudo 命令,用超級管理員的許可權安裝,結果提示如下:

➜  sudo brew install telnet Password: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.

大概的意思的就是說,brew 更改了他的安裝方式,不會輕易拿管理員許可權來進行安裝,所以直接 brew install telnet就可以了。

安裝完成之後, 直接使用即可