# Set up ShipThis

> Get ShipThis running on your machine

Source: https://shipth.is/docs/tutorials/app-store/setting-up-shipthis

ShipThis is a command line tool, which is installed as a global NPM package so that you can make use of it when working in any folder.

## Preqrequisites

To install an NPM package you need to have Node.js installed on your machine. If
you don't have Node.js installed, you can download it from
[here](https://nodejs.org/en/download/).

**We support NodeJS version 18 and above.**

## Installation

Run the following command from anywhere on your machine to install ShipThis:

```bash
npm i -g shipthis
```

This will install ShipThis globally on your machine. You can test to see it
works by running:

```bash
shipthis --version
```

Which should output the current version of shipthis that is installed.

<pre class="terminal__body">
<font color="#4CE64C"><b>david@sal9000</b></font>:<font color="#295FCC"><b>~/game</b></font>$ shipthis --version
shipthis/0.0.8 linux-x64 node-v18.17.0
</pre>

### See it in action

[![asciicast](https://asciinema.org/a/4Cbeic7XXKoLwLHFki2HxBrsJ.svg)](https://asciinema.org/a/4Cbeic7XXKoLwLHFki2HxBrsJ)

## Creating a ShipThis account

Your ShipThis account will be linked to your e-mail address. We operate a
passwordless authentication system so when you login for the first we will
create an account if you do no have one already.

To create your ShipThis account simply login for the first time:

```bash
shipthis login
```

You will be prompted to enter your e-mail address. Once you have entered your
e-mail address a login code will be e-mailed to you.

[tip]
Please check your Spam if it hasn't arrived in your inbox and also add us to
your contacts to ensure you receive future e-mails.

Once you have received the login code, enter it into the terminal and you will
be registered. To verify you are logged in run:

```bash
shipthis status
```

It should display <font color="#4CE64C"><b>YES</b></font> next to where it says **Logged in**

<pre class="terminal__body">

<font color="#4CE64C"><b>david@sal9000</b></font>:<font color="#295FCC"><b>~/game</b></font>$ shipthis status
<font color="#FFFFFF"><b>STATUS</b></font>
  Logged in                               <font color="#4CE64C"><b>YES</b></font>
  Godot project detected                  <font color="#4CE64C"><b>YES</b></font>
  ShipThis project configured             <font color="#FF8787"><b>NO</b></font>
  Git repository detected (not required)  <font color="#4CE64C"><b>YES</b></font>

<font color="#FFFFFF"><b>NEXT STEPS</b></font>
  $ shipthis game wizard
</pre>

Ideally, you want to run the `shipthis` command from within a Godot game directory.
A Godot game directory is one with a `project.godot` file.

### See it in action

[![asciicast](https://asciinema.org/a/ukCiik7BUWSfAx5V7nyRVfQ4p.svg)](https://asciinema.org/a/ukCiik7BUWSfAx5V7nyRVfQ4p)
