Yagna installation


In this article, we'll show you how to install and configure Yagna in case you want to enable your applications to connect to the network.

Installing and running Yagna

Yagna is a service that will let you communicate with the Golem Network and perform operations on it. Let's install it.

Install Yagna

On Linux/ MacOS you can install it using our helper script like this:

curl -sSf | bash -

You might be asked to modify your PATH afterward.


If you have encountered problems, contact us on: Discord channel:

Start the service

Open a terminal (command line window) and define the app-key that will allow our script to use the Yagna API:

export YAGNA_AUTOCONF_APPKEY=try_golem

The instructions above allow you to set a temporary app-key that will disappear after the Yagna service restart. That is good for experiments and for running examples and tutorials. For production deployment, it is recommended to use a unique app-key generated according to instructions provided here.

Then start the service:

yagna service run

Get some funds

Requesting tasks on the Golem Network requires some credits on the network (GLM tokens). As this example will run on a test network, you can get test credits.

Open another terminal and run the following command to complete the configuration:

yagna payment fund
Next steps
  • You can learn more about the Golem architecture, production and test networks, and GLM tokens here:

Was this helpful?