実現したいこと
Slack公式ページ手順通りSlack CLIをインストールしたいと考えています。
発生している問題・分からないこと
curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
コマンドを打つと権限がないとエラーが出る。
エラーメッセージ
error
1Warning: Permission denied 2curl: (23) Failure writing output to destination
該当のソースコード
特になし
試したこと・調べたこと
- teratailやGoogle等で検索した
- ソースコードを自分なりに変更した
- 知人に聞いた
- その他
上記の詳細・結果
curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | sudo bash
してみたら
rootでhomebrew実行するなとエラーが出ます。
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. curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
補足
特になし

あなたの回答
tips
プレビュー