Developer Tools · head to head
Amphetamine vs Yarn

Amphetamine
Developer Tools
Free Mac menu bar app that keeps your Mac awake on a timer or by trigger rules
- From
- Free
- Free plan
- Yes

Yarn
Developer Tools
Fast, reliable, and secure dependency management
- From
- Free
- Free plan
- Yes
The short version
- Yarn is a package manager.
- Both are free.
- Where Amphetamine falls short: the app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected.
- Where Yarn falls short: Yarn 2+ (Berry) has limited ESM support which can be a constraint for some projects.
How do Amphetamine and Yarn differ?
Amphetamine and Yarn differ on platforms. Only the attributes on which Amphetamine and Yarn actually diverge.
| Attribute | Amphetamine | Yarn |
|---|---|---|
| Platforms | macOS | Web, Linux, macOS, Windows |
Identical on both: starting price (Free), pricing model (Free), free tier (Yes).
Not yet recorded: category for Amphetamine, founded for Amphetamine.
Which features does each one have?
They share no listed features; 7 appear only for Amphetamine. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Amphetamine
- Timed sessions
- Triggers
- Display and lock options
- Closed-display mode
- Drive Alive
- AppleScript support
- Custom icons and sounds
Only in Yarn
Nothing recorded that Amphetamine does not also cover.
What is each one used for?
Amphetamine is most often brought in for A long download, render or backup that must finish with nobody at the Mac; Yarn for monorepo teams managing dependencies across 50+ interdependent packages. The jobs each tool is most often brought in to do.
Amphetamine
- A long download, render or backup that must finish with nobody at the Macnot Yarn
- A laptop used with the lid closed and an external displaynot Yarn
- Keeping a remote database or VPN session alive during working hoursnot Yarn
- Preventing sleep only while a specific app, Wi-Fi network or USB device is presentnot Yarn
Yarn
- Monorepo teams managing dependencies across 50+ interdependent packagesnot Amphetamine
- Enterprise JavaScript projects ensuring reproducible builds across CI/CDnot Amphetamine
- Open-source projects with plugin ecosystems coordinating versionsnot Amphetamine
- Teams requiring consistent package installs regardless of network conditionsnot Amphetamine
Where do Amphetamine and Yarn fall short?
Yarn's most cited limit: Yarn 2+ (Berry) has limited ESM support which can be a constraint for some projects. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amphetamine
- Closed-display mode on Apple Silicon laptops needs a helper script, and avoiding the authentication prompt needs a separate Power Protect download, which is extra setup
- It is a one-developer project, so the roadmap and support depend on one person and the listing says support cannot be given through the App Store
- The app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected
- The file-download option asks you to pick a file, which is awkward for browsers that create a placeholder and a partial file
- Keeping a Mac awake overrides its power settings, so a forgotten session can drain a battery or keep a display on longer than intended
Yarn
- Yarn 2+ (Berry) has limited ESM support which can be a constraint for some projects
- Smaller ecosystem and community compared to npm, though still substantial
- Plug'n'Play mode in Yarn 2 and later removes node_modules, and some ecosystem tools needed time to support it
- Moving from Yarn 1.22 to Yarn 2 or later was a major rewrite, so migration needs planning
How much do Amphetamine and Yarn cost?
Amphetamine is free to use; Yarn is free to use. Plan by plan below, from each vendor's own pricing page.
Amphetamine
Free- AmphetamineFree
- Listed as free on the Mac App Store
- No tiers or in-app plans shown on the listing
Yarn
Free- Open sourceFree
Which should you pick?
Choose Amphetamine if
- You need timed sessions.
- You want to start without paying.
- You work on macOS.
- You also want triggers.
Questions people ask
- Is Amphetamine or Yarn better?
- It depends on the job. Amphetamine fits a long download, render or backup that must finish with nobody at the Mac; Yarn fits monorepo teams managing dependencies across 50+ interdependent packages. Amphetamine starts at Free and Yarn at Free.
- Which is cheaper, Amphetamine or Yarn?
- Amphetamine starts at Free and Yarn at Free.
- Does Amphetamine or Yarn run on more platforms?
- Amphetamine runs on macOS. Yarn runs on Web, Linux, macOS, Windows.
- Can I use Amphetamine for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Amphetamine best used for?
- Amphetamine is most often used for a long download, render or backup that must finish with nobody at the mac, a laptop used with the lid closed and an external display, keeping a remote database or vpn session alive during working hours, preventing sleep only while a specific app, wi-fi network or usb device is present. Of those, a long download, render or backup that must finish with nobody at the mac and a laptop used with the lid closed and an external display are not what Yarn is typically brought in for.
- What can Amphetamine do that Yarn cannot?
- Amphetamine covers Timed sessions, Triggers, Display and lock options, Closed-display mode.
Answered from the vendors’ own pages
Amphetamine: Is Amphetamine free?
Yes. The Mac App Store lists it as free.
Yarn: What is Yarn's main advantage over npm?
Yarn downloads packages in parallel, significantly reducing installation time. It uses a yarn.lock file for deterministic installs, ensuring identical package versions across machines and preventing version conflicts common with npm.
SourceAmphetamine: Does it work with the lid closed?
Yes, through Closed-Display Mode. On Apple Silicon laptops this uses a script, and Power Protect is an optional separate install that avoids the authentication prompt.
Yarn: Can I use Yarn in offline environments?
Yes, Yarn supports secure offline environments. The yarn.lock file enables reproducible installs without requiring new downloads.
SourceAmphetamine: Which macOS does it need?
The listing says macOS 10.11 El Capitan or higher, with some features needing newer versions.
Amphetamine: Can it start automatically?
Yes. Triggers can start a session based on apps, displays, devices, network, battery or power state.
Related pages
More on Amphetamine
Other head to heads
- Amphetamine vs Bartender
- Amphetamine vs iStat Menus
- Amphetamine vs BetterDisplay
- Amphetamine vs TG Pro
- Amphetamine vs CleanMyMac
- Amphetamine vs Choosy
- Amphetamine vs Velja
- Amphetamine vs AppCleaner
- Amphetamine vs DaisyDisk
- Amphetamine vs PopClip
- Amphetamine vs Macs Fan Control
- Amphetamine vs Yoink
- Amphetamine vs Folx
- Amphetamine vs Glary Utilities
- Amphetamine vs GPU-Z
- Amphetamine vs Logi Options+
- Amphetamine vs Lunar
- Amphetamine vs Logitech G HUB
- Amphetamine vs pnpm
- Amphetamine vs Deno
- Amphetamine vs Prettier
- Amphetamine vs Bazel
- Amphetamine vs Apache Maven
- Amphetamine vs GitHub
- Amphetamine vs Buildkite
- Amphetamine vs Azure DevOps
- Amphetamine vs Turborepo
- Amphetamine vs Pants Build
- Amphetamine vs Moonrepo
- Amphetamine vs Vite
- Amphetamine vs Atlassian Compass
- Amphetamine vs Avo
- Amphetamine vs AWS CloudFormation
- Amphetamine vs Azure AI Search
- Amphetamine vs AWS CodeBuild
- Amphetamine vs AWS CodePipeline
- Yarn vs Bartender
- Yarn vs iStat Menus
- Yarn vs BetterDisplay
- Yarn vs TG Pro
- Yarn vs CleanMyMac
- Yarn vs Choosy
- Yarn vs Velja
- Yarn vs AppCleaner
- Yarn vs DaisyDisk
- Yarn vs PopClip
- Yarn vs Macs Fan Control
- Yarn vs Yoink
- Yarn vs Folx
- Yarn vs Glary Utilities
- Yarn vs GPU-Z
- Yarn vs Logi Options+
- Yarn vs Lunar
- Yarn vs Logitech G HUB
- Yarn vs pnpm
- Yarn vs Deno
- Yarn vs Prettier
- Yarn vs Bazel
- Yarn vs Apache Maven
- Yarn vs GitHub
- Yarn vs Buildkite
- Yarn vs Azure DevOps
- Yarn vs Turborepo
- Yarn vs Pants Build
- Yarn vs Moonrepo
- Yarn vs Vite
- Yarn vs Atlassian Compass
- Yarn vs Avo
- Yarn vs AWS CloudFormation
- Yarn vs Azure AI Search
- Yarn vs AWS CodeBuild
- Yarn vs AWS CodePipeline
