I did not find it in brew by brew search cut. I wound if it exists in any other package systems.

How can you install GNU Cut in OSX?

1 Answer 1


cut is part of CoreUtils.

To install it :

brew install coreutils

Then it's available in terminal as gcut.

  • How is then GNU cut presented in my system? By gcut? I do not want replace BSD commands. Jun 15, 2015 at 12:52
  • 3
    It won't replace the BSD commands. As you guessed, it will be accessible with gcut (if you have set the $path to work with brew packages). Jun 15, 2015 at 13:00
  • What do we need to do to set the path correctly? Could you please add to your answer? I haven't found a beginner-friendly step-by-step for installing coreutils on OS X (and even more difficult to find, a guide with El Capitan in mind). Do you have any references for that? Oct 18, 2015 at 18:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .