@shift-code/cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@shift-code/cli

Automatically redeem Gearbox Shift codes

Example of a terminal executing the shift-code command

Supported Games:

  • Tiny Tina's Wonderlands
  • Borderlands GOTY
  • Borderlands 2
  • Borderlands: The Pre-Sequel
  • Borderlands 3
  • Godfall

Supported Platforms:

  • Steam
  • Epic
  • PSN
  • Xbox
  • Stadia

Install

Download the latest binary release for your platform:

Or, run via NodeJS:

npm install @shift-code/cli --global

Usage

  1. Login to SHiFT: shift-code login
  2. Enter your shift credentials
  3. Redeem available codes: shift-code redeem
  4. Codes will be automatically redeemed. Just let it do it's thing.

Commands

login

shift-code login [--email <email>] [--password <password>]

Login to a SHiFT account. Stores the session in the config location.

If the email is already associated to an account, it will switch that account to the current active account.

logout

shift-code logout

Logout from SHiFT and remove the stored session.

accounts

shift-code accounts

List all saved accounts, show current active account

redeem

shift-code redeem [codes...]

Redeem the given codes or all available codes on the current active account.

cache clear

shift-code cache clear

Remove all codes from the redemption cache for the current active account.

FAQ

  1. What does "You need to launch a Shift-enabled game to continue redeeming" mean?
    • You can only redeem a certain number of SHiFT codes before you'll see this. It means you need to open a SHiFT enabled title and play past the main menu. Once you're loaded in, you can exit the game and continue redeeming.
    • Alternatively, this error will go away after a certain amount of time.

Package Sidebar

Install

npm i @shift-code/cli

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

48.9 kB

Total Files

52

Last publish

Collaborators

  • trs