How to install SMAPI

Download SMAPI from smapi.io, unzip it, and run the installer for your system: install on Windows.bat, install on macOS.command or install on Linux.sh. Then start the game through SMAPI — on Steam, set the launch options to the SMAPI program. Installing SMAPI does not delete your saves or your mods.

Before you start

Close Stardew Valley. Back up your saves first — they live in %AppData%\StardewValley\Saves on Windows and ~/.config/StardewValley/Saves on macOS, Linux and Steam Deck. Copy the whole Saves folder somewhere safe.

SMAPI works with the Steam and GOG versions of the game. The Microsoft Store version is not supported, so if mods are the reason you are here, use Steam or GOG.

Install SMAPI

  1. Open smapi.io and download the latest SMAPI for your system.
  2. Unzip the download to a normal folder. Do not run the installer from inside the .zip.
  3. Windows: run install on Windows.bat. macOS: right-click install on macOS.command and choose Open. Linux and Steam Deck: run install on Linux.sh in a terminal.
  4. Type 1 and press Enter to install. The installer usually finds the game by itself.
  5. If it asks for the game folder, point it at the folder that contains Stardew Valley.exe (Windows) or Stardew Valley.app (macOS).
  6. Wait for the success message, then close the installer window.

Start the game through SMAPI

SMAPI only runs when you launch the game through it. On Steam, the cleanest way is a launch option:

  1. In Steam, right-click Stardew Valley → Properties → Launch Options.
  2. Paste the path to the SMAPI program in quotes, followed by %command%. On a default Windows install: "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\StardewModdingAPI.exe" %command%
  3. Close the window and start the game from Steam as usual.

GOG: launch StardewModdingAPI.exe from the game folder, or add it to GOG Galaxy as an extra. macOS: run StardewModdingAPI inside the game folder. Steam Deck: switch to Desktop Mode, open the game folder in Dolphin, and add StardewModdingAPI as a non-Steam game — or set the same launch option in the game properties.

Check that it worked

The game says SMAPI is not installed

That message means the game started without SMAPI. The mods are fine; the launch path is wrong. Check these in order:

After a Stardew Valley update

A game update can remove the SMAPI patch. Run the SMAPI installer again after every major game update, then start the game through SMAPI once to confirm. Your mods and saves are not touched by reinstalling SMAPI.

Questions

Does installing SMAPI delete my mods or saves?

No. SMAPI installs next to the game. Your Mods folder and saves stay where they are. Back up the Saves folder anyway before any big change.

Is SMAPI safe, and does it disable achievements?

SMAPI is open source and used by most Stardew mods. It does not disable achievements. Only install mods from their official pages.

Do I have to launch the game differently every time?

On Steam, no — the launch option applies every time you press Play. On GOG or macOS, launch the SMAPI program instead of the game program.

Do I need SMAPI if I only use one mod?

For almost every mod, yes. A few old mods replace game files directly (XNB mods) and do not need SMAPI, but they are rare and harder to remove.

The black window closes immediately. What now?

The game or SMAPI crashed before the window could stay open. Open SMAPI-crash.txt in the ErrorLogs folder, or follow the startup crash guide.

Ready to check your pack?

Most packs take a few seconds. Nothing is uploaded.

Open the checker