# Lesson 4.2: Off-Chain Code with Cardano CLI and GUI

Welcome to Lesson 4.2! In this lesson, you'll learn how to interact with off-chain code using cardano-cli and the graphic user interface (GUI) developed by the Education Team.

{% embed url="<https://youtu.be/gsgQ-xmzbpA>" %}

{% tabs %}
{% tab title="Learning Objectives" %}
After completing this lesson, you'll be able to:

* Install the cardano-cli-gui.
* Interact with multiple inputs and outputs using the cardano-cli-gui.
* Manually balance transactions.
* Summarize the pros and cons of cardano-cli.
  {% endtab %}

{% tab title="Lesson Resources" %}
Internet resources mentioned in the lesson's video:

* [cardano-cli-gui repository](https://github.com/input-output-hk/cardano-cli-gui)
* [Cardano node repository](https://github.com/input-output-hk/cardano-node/releases)
* [Preview Testnet Documentation](https://book.world.dev.cardano.org/environments.html#preview-testnet)
* [Getting started with native tokens](https://docs.cardano.org/native-tokens/getting-started)
  {% endtab %}

{% tab title="Additional Resources" %}
To learn more about the topics covered in this lesson, we encourage you to review the following resources:

* [Using the command line interface](https://docs.cardano.org/development-guidelines/use-cli)
* [Cardano Node CLI Reference](https://cardano-foundation.gitbook.io/stake-pool-course/reference/cardano-node-cli-reference)
  {% endtab %}
  {% endtabs %}

## Collaborate with the Pioneers Community

Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.

If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.

***

This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).

<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iog-academy.gitbook.io/plutus-pioneers-program-fourth-cohort/lectures/lecture-04/lesson-02.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
