# Hello World

This tutorial will guide you through running your first "Hello World" program on Float16's serverless GPU platform. Follow these steps after installing the Float16 CLI.

## Step 1 : Login

First, authenticate with the Float16 CLI using your provided token

```bash
float16 login --token <YOUR_TOKEN>
```

## Step 2 : Initialize Your Project

Create a new project directory and navigate into it

```bash
mkdir firstProject
cd firstProject
```

Initialize the project with required configuration files

```bash
float16 init
```

This command creates a float16.conf file and an empty requirements.txt for managing dependencies.

## Step 3 : Create Your "Hello World" Script

<https://github.com/float16-cloud/examples/tree/main/official/run/helloworld>

Create a new Python file named "helloWorld.py" with a simple print statement:

{% code overflow="wrap" %}

```bash
echo 'print("Hello World! Welcome to Float16 Serverless GPU")' > helloworld.py
```

{% endcode %}

## Step 4 : Create project

Create a new project

```
float16 project create
```

{% hint style="info" %}
If you cannot create new project, [learn more](https://docs.float16.cloud/getting-started/faq#why-cant-i-create-a-new-project)
{% endhint %}

## Step 5 : Start and Run

Start the remote container

```bash
float16 project start
```

Once successfully started, run your Python file on the remote instance

```bash
float16 run helloWorld.py
```

Wait for the execution to complete. Upon success, you'll see the following output

```bash
Hello World! Welcome to Float16 Serverless GPU
```

{% hint style="success" %}
Congratulations! You've successfully run your first program on Float16's serverless GPU platform.
{% endhint %}

## Explore More&#x20;

Ready to dive deeper? Check out these resources to expand your knowledge and capabilities with Float16.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Hello World</strong></td><td>Launch your first serverless GPU function and kickstart your journey.</td><td><a href="hello-world">hello-world</a></td></tr><tr><td><strong>Install new library</strong></td><td>Enhance your toolkit by adding new libraries tailored to your project needs.</td><td><a href="install-new-library">install-new-library</a></td></tr><tr><td><strong>Copy output from remote</strong></td><td>Efficiently transfer computation results from remote to your local storage.</td><td><a href="s3-copy-output-from-remote">s3-copy-output-from-remote</a></td></tr><tr><td><strong>Deploy FastAPI Helloworld</strong></td><td>Quick start to deploy FastAPI without change the code.</td><td><a href="server-mode">server-mode</a></td></tr><tr><td><strong>Upload and Download via CLI and Website</strong></td><td>Direct upload and download file(s) to server.</td><td><a href="direct-upload-and-download">direct-upload-and-download</a></td></tr><tr><td><strong>More examples</strong></td><td>Open source from community and Float16 team.</td><td><a href="etc.">etc.</a></td></tr></tbody></table>

Happy coding with Float16 Serverless GPU!
