What SMAPI is and why you need it

SMAPI (Stardew Modding API) is a tool that sits between Stardew Valley and your mods, letting them talk to the game without breaking it. Think of it as a translator — mods are written to speak SMAPI's language, and SMAPI converts that into instructions the game understands. Without SMAPI running, most mods simply will not work.

You install SMAPI once, and then every mod you add afterward will use it automatically. It takes about five minutes to set up, and the process is the same whether you are on Windows, Mac, or Linux.

Key Takeaways

  • Download SMAPI from smapi.io, the official website — never from mod sites or third-party sources.
  • Extract the SMAPI folder to your Stardew Valley game directory, which is usually in Program Files on Windows or Applications on Mac.
  • Run the installer file inside the SMAPI folder, which automatically sets up SMAPI to launch with your game.
  • Start the game through the SMAPI launcher, not through Steam or the game shortcut, or mods will not load.
  • If SMAPI does not start, check that your game is fully updated and that you extracted the files to the correct folder.

Finding your Stardew Valley game folder

Before you download SMAPI, you need to know where Stardew Valley lives on your computer. The location depends on your operating system.

On Windows: Open File Explorer and paste this into the address bar: %appdata%\StardewValley. Press Enter. If you see a folder called Mods inside, you are in the right place. If you do not see a Mods folder, that is fine — SMAPI will create one when it installs.

On Mac: Open Finder, click the Go menu at the top, select Go to Folder, and paste this: ~/Library/Application Support/StardewValley. Press Enter.

On Linux: Open your file manager and navigate to ~/.config/StardewValley.

Leave this window open — you will need this folder in the next step.

Downloading SMAPI from the official source

Go to smapi.io in your web browser. This is the only official SMAPI website. You will see a large download button on the front page.

Click the download button. The site will detect your operating system and offer you the correct version. Download the file — it will be named something like SMAPI 4.0.0 installer.zip (the version number may be different).

Do not download SMAPI from Nexus Mods, CurseForge, or any other mod site, even if you see it listed there. Always use smapi.io. Third-party sources can be out of date or modified.

Extracting SMAPI to the right location

Once the download finishes, find the SMAPI zip file in your Downloads folder. Right-click it and select Extract All (Windows) or double-click it (Mac and Linux). This creates a folder called SMAPI-4.0.0 or similar.

Open that extracted SMAPI folder. Inside, you will see several files and folders, including one called install.bat (Windows), install.sh (Mac), or install.sh (Linux).

Now go back to the Stardew Valley game folder you found earlier. Drag the entire SMAPI folder into your Stardew Valley directory. On Windows, your Stardew Valley folder should now contain a folder called SMAPI alongside the Stardew Valley executable file. If you see the SMAPI folder nested inside another folder, you extracted it wrong — move it up one level.

Running the SMAPI installer

On Windows: Open the SMAPI folder you just moved into Stardew Valley. Find the file called install.bat. Double-click it. A command window will open and run through several lines of text. When it finishes, close the window.

On Mac: Open the SMAPI folder. Right-click the file called install.sh and select Open. A window will appear asking if you want to run it. Click Open. Enter your Mac password if prompted. Wait for the process to finish.

On Linux: Open a terminal in the SMAPI folder. Type bash install.sh and press Enter. Wait for the process to finish.

The installer does two things: it copies SMAPI files into the right places, and it creates a launcher that will start SMAPI when you play. You only run the installer once.

Starting the game through SMAPI

After the installer finishes, do not start Stardew Valley the way you normally do. Do not click the Steam Play button or double-click a desktop shortcut. Instead, open your Stardew Valley folder and look for a file called StardewModdingAPI.exe (Windows), StardewModdingAPI (Mac), or StardewModdingAPI (Linux).

Double-click that file to start the game. A console window will open showing SMAPI loading. You will see text that says something like "Loaded 0 mods" if you have not added any yet. The game window will then open normally. This is how you know SMAPI is running.

From now on, always start the game through the SMAPI launcher, not through Steam. If you start through Steam, SMAPI will not load and your mods will not work.

Checking that SMAPI installed correctly

Once the game starts, go to the title screen and look at the bottom left corner. You should see text that says SMAPI 4.0.0 or similar, along with the version of Stardew Valley you are running. If you see this text, SMAPI is working.

If SMAPI does not start or you see an error message, the most common causes are: your Stardew Valley game is not fully updated (update it through Steam), you extracted SMAPI to the wrong folder (check that the SMAPI folder is directly inside your Stardew Valley directory, not nested), or your operating system is blocking the installer (on Mac, try right-clicking install.sh and selecting Open instead of double-clicking).

If you still have trouble, the SMAPI website has a troubleshooting page with solutions for less common problems. You can also check the console window that opens when you launch SMAPI — it often shows error messages that explain what went wrong.

Frequently Asked Questions

Do I have to run the installer every time I play?

No. The installer runs once and sets everything up. After that, you just launch the game through the SMAPI launcher file. The launcher is what you use every time you want to play with mods.

What happens if I start the game through Steam instead of SMAPI?

The game will start normally, but SMAPI will not load and none of your mods will work. You will see the game without any mod changes. Always use the SMAPI launcher instead.

Can I uninstall SMAPI if I change my mind?

Yes. Delete the SMAPI folder from your Stardew Valley directory, and the game will work normally again without mods. You can reinstall SMAPI later if you want to use mods again.

Will SMAPI work if my game is pirated?

SMAPI only works with legitimate copies of Stardew Valley that you own through Steam or GOG. If your copy is pirated, SMAPI will not function.

Do I need to download SMAPI again when the game updates?

Usually not, but check the SMAPI website after a major Stardew Valley update. If SMAPI needs an update to match the new game version, the website will have a new download ready. Minor game updates usually do not require a new SMAPI version.