Skip to content

We use analytics cookies to see how the site is used. They are only set if you accept. Accepting also turns on session recording (pages viewed, clicks and scrolls) so we can fix problems; what you type stays hidden. It also lets Meta (Facebook) see your visit, so we can measure our ads. Read the privacy policy

Editorial

Launch & Discovery Guides

Practical guides on launching products, getting discovered, and reaching the right audience - written for founders and developers.

RSS Feed
LatestDeveloper Tools

Exit Codes 0 to 255: What 1, 2, 126, 127, 130 and 137 Mean, and Which One Your CLI Should Return

Every process hands back one number when it ends. Here is what each common exit code means, a command that reproduces it, why 137 turns up in containers, and which codes to use in your own tool.

CodeTrendy Editorial Team

November 11, 20268 min read