Hacker ApprovedDepartments

Oils (Oil Shell)

Ranked 10 of 12 shells by recommenders

Bash-compatible shell with a cleaner, more modern YSH syntax, offering an upgrade path away from bash and sh. Caveat: YSH is not fully defined yet.

Bash-compatible shell with a cleaner, more modern YSH syntax, offering an upgrade path away from bash and sh. Caveat: YSH is not fully defined yet.

9 people gave an opinion

recommend it
7
criticize it
2
approval share
78%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • 3.5 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Compatible with bash and sh

    “very interesting approach, it has a bash or sh compatible mode and another one with a more modern and cleaner syntax”

    Comment from 7 Dec 2025 in “Perl's decline was cultural”

    “The lowest friction migration I see available while still offering a bunch of improvements.”

    Comment from 23 May 2026 in “Rubish: A Unix shell written in pure Ruby”

    “it has an sh/bash compatible mode and thus provides an upgrade path away from bash”

    Comment from 7 Dec 2025 in “Perl's decline was cultural”
  • Modern syntax without POSIX mistakes

    “very interesting approach, it has a bash or sh compatible mode and another one with a more modern and cleaner syntax”

    Comment from 7 Dec 2025 in “Perl's decline was cultural”

    “In Oils, we have some pretty minor elaborations of the standard model, and it makes things a lot easier”

    Comment from 17 Mar 2026 in “Building a Shell”

    “don't repeat the mistakes of posix shell syntax”

    Comment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”
  • Strict mode prevents ambiguity

    “OSH has shopt --set strict:all, which is "boring bash"”

    Comment from 10 Dec 2025 in “Dependable C”

    “FWIW Oils has an option to prevent the ambiguity”

    Comment from 29 Jun 2026 in “POSIX Is Not a Shell”
  • Good idea for scripting

    “Osh/ysh might be a good idea for scripting”

    Comment from 24 Feb 2026 in “The Missing Semester of Your CS Education”

    “is also a good idea today”

    Comment from 24 Feb 2026 in “The Missing Semester of Your CS Education”

What people warn about

Each mark is one comment

  • YSH still not fully defined

    “they haven't fully defined what YSH is going to be yet”

    Comment from 25 May 2026 in “Rubish: A Unix shell written in pure Ruby”

Other shells people recommend

The four most recommended other shells, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Oils (Oil Shell) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Bash17112757%1220 yrs7 owners—
PowerShell1569263%12——
fish shell972083%125 yrs11 ownersApproved
Nushell921586%111.7 yrs5 ownersApproved
Oils (Oil Shell)This page7278%7——
See all 12 shells, ranked

What people said

All 17 comments that mention it, newest first. Each links to the original comment.

“don't repeat the mistakes of posix shell syntax”

RecommendsComment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”

“If fish or oil had existed back then, they would likely have won”

RecommendsComment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”

“That's why there's an industry of alternatives without the faults”

RecommendsComment from 26 Jul 2026 in “A shell colon does nothing. Use it anyway.”

“FWIW Oils has an option to prevent the ambiguity”

RecommendsComment from 29 Jun 2026 in “POSIX Is Not a Shell”

“they haven't fully defined what YSH is going to be yet”

MixedComment from 25 May 2026 in “Rubish: A Unix shell written in pure Ruby”

“when I tried it about 2 years ago, it felt awkward”

CriticizesComment from 23 May 2026 in “Rubish: A Unix shell written in pure Ruby”

“The lowest friction migration I see available while still offering a bunch of improvements.”

RecommendsComment from 23 May 2026 in “Rubish: A Unix shell written in pure Ruby”

“which are supposed to be better but in reality just end up being different”

CriticizesComment from 26 Apr 2026 in “My .config Ship of Theseus”

“OSH is the most bash-compatible shell, and more POS”

RecommendsComment from 17 Mar 2026 in “Building a Shell”

“In Oils, we have some pretty minor elaborations of the standard model, and it makes things a lot easier”

RecommendsComment from 17 Mar 2026 in “Building a Shell”

“Osh/ysh might be a good idea for scripting”

RecommendsComment from 24 Feb 2026 in “The Missing Semester of Your CS Education”

“is also a good idea today”

RecommendsComment from 24 Feb 2026 in “The Missing Semester of Your CS Education”

“OSH has shopt --set strict:all, which is "boring bash"”

RecommendsComment from 10 Dec 2025 in “Dependable C”

“it has an sh/bash compatible mode and thus provides an upgrade path away from bash”

RecommendsComment from 7 Dec 2025 in “Perl's decline was cultural”

“very interesting approach, it has a bash or sh compatible mode and another one with a more modern and cleaner syntax”

RecommendsComment from 7 Dec 2025 in “Perl's decline was cultural”

“We are down to 14 disagreements between OSH and busybox ash/bash on Alpine Linux main”

RecommendsComment from 7 Nov 2025 in “You should write an agent”

“OSH is the most bash-compatible shell, and it's also now Almquist shell compatible”

RecommendsComment from 6 Nov 2025 in “You should write an agent”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.