Confused on Steam Play and Proton? Be sure to check out our guide.
We do often include affiliate links to earn us some pennies. See more here.

Amazon's Prime Gaming service has been dishing out free-to-keep games to its subscribers for some time now, but accessing these games required running the Amazon Gaming client through Wine.

The Nile Project provides a native interface for your Prime Gaming library by interacting with the Amazon API to download and play your games from the command line. A nice advantage to using Nile is that you can change your Wine environment on a per-game basis, rather than installing a copy of Amazon Games for each. I spoke with project developer Linguin, who also works on Heroic Launcher, and he plans to incorporate Nile into Heroic in the near future, so if you aren't keen to use the command line you can consider this a quick sneak peek. The developer also mentioned it's not ready for Steam Deck yet and while possible it's not recommended, so this is for desktop Linux for now.

SteamWorld Quest: Hand of Gilgamech running through Nile

The project is still in early days, and as such the documentation is a bit sparse. Let's take a look at using Nile to access some of those Bezos freebies. Most of this information can be found in the project's README.

Step 1: Get Nile and dependencies

Nile is not (yet) packaged for distributions, so grab it from the GitHub repository using git:

git clone https://github.com/imLinguin/nile

You will also need the project dependencies, which you can install system-wide for Arch Linux like so:

pacman -Syu pyqt5 python-pycryptodome python-zstandard python-requests python-protobuf

or or for Ubuntu like so:
sudo apt install python3-pyqt5 python3-pycryptodome python3-requests python3-zstd

If you are on a different distribution you could instead install the required python packages system-wide with pip, although personally I wouldn't recommend it. A better option is to make a virtual environment, then activate the environment before running Nile. To do this, run: python3 -m venv env && source ./env/bin/activate && pip install -r requirements.txtNote that the virtual environment will only be active for the terminal you ran source ./env/bin/activate on, so you will need to re-run it for new terminals before running Nile.

Step 2: Download your Games

In the Nile directory you downloaded from GitHub, run ./bin/nile auth --login, which will pop open a window with the Amazon login. Once you have logged in, you can list your games with ./bin/nile library list.

Nile listing my Prime Gaming library

Choose the game you would like to install and copy the associated ID string, then run ./bin/nile install , replacing with the string you copied. The download will start - there is no indication of download progress so you'll just have to be patient. You can verify that the game has been installed with ./bin/nile library list.

Step 3: Play

Once completed, you can launch the game using the default system Wine prefix with ./bin/nile launch . A nice feature is that you can instead use one of your pre-existing Wine bottles from Bottles.

For example, if you want to run one of your Amazon games with GE Proton you could create a bottle using the Bottles GUI  or from the command line
bottles-cli new --bottle-name ge_proton --environment gaming --runner GE-Proton7-38
Then use that bottle to play your game
./bin/nile launch --bottle ge_proton

While it's still early days for this project, I think it's great how easy it's getting to access games on platforms besides Steam, and the Nile project moves us that little bit farther into the glorious Linux gaming future.

Article taken from GamingOnLinux.com.
16 Likes
About the author -
author picture
I'm a long-time Linux user and a long-time gamer, and have enjoyed combining these two hobbies over the past 10 years or so. When I'm not gaming or working, you can find me annoying my cat, watching movies, or raving about my 40% keyboards to anyone I can corner.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
15 comments

heidi.wenger Nov 3, 2022
into Heroic in the near future, so if you aren't keen to use the command line you can consider this a quick sneak peek.

Nice. Not only am i not keen to use the terminal, i nowadays refuse to use it. After a long day i want things be clicketyclick or then i just watch YouTube.
nebadon2025 Nov 3, 2022
If you want to get the games downloaded from Nile onto your steam deck its quite easy, just use Warpinator to copy over the games after they are downloaded and installed on your desktop linux machine, all the games from Amazon are DRM free and can be easily moved between any machines! I have done this several times now with my steam deck and it works great!


Last edited by nebadon2025 on 3 November 2022 at 12:53 pm UTC
pb Nov 3, 2022
Gotta love the naming of these OSS alternatives.
tpau Nov 3, 2022
Gotta love the naming of these OSS alternatives.
You can't use the same name or the publisher might get angry but there still needs to be some kind of hint what the application should be used for :)
slaapliedje Nov 3, 2022
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
Purple Library Guy Nov 3, 2022
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
The conquistadors saw it and said "What an Amazin' river!"
slaapliedje Nov 3, 2022
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
The conquistadors saw it and said "What an Amazin' river!"
HAHA, sounds about as logical as anything else.
whizse Nov 3, 2022
View PC info
  • Supporter
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
You made me curious, went to to Wikipedia... and that's pretty much what happened: Spanish conquistadors were attacked by female warriors while exploring the river.

Makes you wonder if Jeff Bezos was bullied by teenage girls in school?
redneckdrow Nov 3, 2022
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
The conquistadors saw it and said "What an Amazin' river!"

You might find this funny...
slaapliedje Nov 3, 2022
Random conversation yesterday started me on the path of 'why is it called the Amazon anyway, did the conquistadors find a bunch of warrior women in the Jungle when they first traveled there?' Still don't know the answer...
You made me curious, went to to Wikipedia... and that's pretty much what happened: Spanish conquistadors were attacked by female warriors while exploring the river.

Makes you wonder if Jeff Bezos was bullied by teenage girls in school?
Ha ha! Then he started a little book store... then went to space. Though I maintain he still looks like a comic book villain. I somehow missed that bit on wikipedia, but that's hilarious. The Amazon is weird, there are still tribes that are there which are very anti-outsider and are still 'low-tech'. We're also still finding new ancient structures that were consumed by the jungles.
denyasis Nov 3, 2022
Thanks for the article. I just "discovered" Amazon Prime Gaming and Luna and I was curious how one would claim and play the free games.

It's seems there's only a handful of rotating freebies and they tend to be older titles, but it's still nice to play some gems.
Shmerl Nov 3, 2022
Interesting. Are these games DRM-free?
Interesting. Are these games DRM-free?
I'm also curious to know. Given that Amazon Kindle has almost single-handedly ushered in an era of DRM-encumbered ebooks with few people noticing or caring, I would think no, but Amazon surprises me sometimes.
Purple Library Guy Nov 4, 2022
Interesting. Are these games DRM-free?
I swear someone was talking about that in a thread the other day, saying that they were and so it was readily do-able to copy Amazon games to different devices.
zkarj Nov 4, 2022
I'm still waiting for the day when Amazon Games provides Linux-native games.

I got Whispering Willows this month from Amazon Games, but it only provides windows version, even though the game has native Linux version. I'm still debating whether to throw money at Steam for a license I already have just to get Linux version.


Last edited by zkarj on 4 November 2022 at 2:44 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.