---
title: "Discussion on \"Emacs warning on macOS: ls does not support --dired\" | Hashnode"
description: "Discussion on \"Emacs warning on macOS: ls does not support --dired\". Current issue\nThis warning is displayed when opening a Dired buffer.\n\nThe cause is that ls doesn't support the --dired option on macOS.\nSolutions\nUse gls (GNU flavored ls).\nbrew install coreutils\n\ninit.el:\n;; without use-package\n(when (and (eq system..."
url: "https://hashnode.com/posts/emacs-warning-on-macos-ls-does-not-support-dired/63c57a08ce178624f2c9713f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Emacs warning on macOS: ls does not support --dired](https://kaksikoivua.hashnode.dev/emacs-warning-on-macos-ls-does-not-support-dired?utm_source=hashnode&utm_medium=feed)

Current issue This warning is displayed when opening a Dired buffer. The cause is that ls doesn't support the --dired option on macOS. Solutions Use gls (GNU flavored ls). brew install coreutils init.el: ;; without use-package (when (and (eq system...

Jan 16, 2023 · 1 min read · kaksikoivua.hashnode.dev  
Read the article

-   [#emacs](https://hashnode.com/tag/emacs)

## Written by

[Kaksi Koivua](https://hashnode.com/@kaksikoivua)

@kaksikoivua

  
[View profile](https://hashnode.com/@kaksikoivua)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
