> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AppSignal voor Ruby: Install

> Command-line tool om AppSignal in een Ruby-applicatie te installeren. Documentatie over gebruik, opties en configuratiemethoden.

De documentatie vertelt u alles wat u moet weten over het installeren van AppSignal via de command-line tool.

## Beschrijving

De command-line tool helpt bij het instellen van de configuratie voor uw applicatie. Integratie met Ruby-applicaties die het Rails framework niet gebruiken vereist aanvullende stappen, omdat de AppSignal-installer niet weet hoe uw applicatie is opgezet. We raden u onze [installatiegids](/guides/new-application) aan wanneer u een nieuwe applicatie aan AppSignal toevoegt.

Voor Rails-applicaties is de volledige integratie automatisch. Voor andere frameworks raadpleegt u onze [Integraties-documentatie](/ruby/integrations/).

Zodra de installatie voltooid is, voert u het [demo-commando](/ruby/command-line/demo) uit om te verifiëren dat de installatie succesvol was. Het demo-commando stuurt voorbeeldgegevens vanuit uw applicatie naar de AppSignal-servers, zodat u kunt verifiëren dat alles naar behoren werkt.

## Configuratiemethoden

Er zijn twee configuratiemethoden beschikbaar via de command-line installer:

1. [Configuratie via een configuratiebestand](#1-configuration-file)
2. [Configuratie via omgevingsvariabelen](#2-environment-variables).

### 1. Configuratiebestand

AppSignal kan worden geconfigureerd via een configuratiebestand met de naam `appsignal.rb` of `appsignal.yml`, geplaatst in de `config/`-map van uw applicatie.
Als u deze optie kiest, schrijft onze installer uw configuratie naar dit bestand.

Wanneer u uw AppSignal-integratie configureert via het configuratiebestand, wordt de Push API key die u aan de installer verstrekt naar het `appsignal.yml` configuratiebestand geschreven. We raden u aan deze key niet toe te voegen aan versiebeheersystemen zoals Git, SVN of Mercurial. Gebruik in plaats daarvan de `APPSIGNAL_PUSH_API_KEY` omgevingsvariabele om uw API key op te slaan.

U kunt meer lezen over het configureren van uw applicatie in onze [configuratiedocumentatie](/ruby/configuration).

### 2. Omgevingsvariabelen

AppSignal kan worden geconfigureerd via systeem-omgevingsvariabelen. Als u deze optie selecteert, wordt er geen [configuratiebestand](#1-configuration-file) gegenereerd.

U kunt meer lezen over het configureren van uw applicatie in onze [configuratiedocumentatie](/ruby/configuration).

## Gebruik

Om appsignal via de command-line te installeren, navigeert u naar de directory van uw project en voert u het volgende commando uit:

<CodeGroup>
  ```bash Bash theme={null}
  appsignal install <Push API key>
  # For example
  appsignal install 1234-1234-1234-1234
  ```
</CodeGroup>

De "Push API key" van uw applicatie wordt weergegeven in de [installatie-wizard](https://appsignal.com/redirect-to/organization?to=sites/new) en is ook beschikbaar in de beheerdersectie van de instellingen van uw organisatie, of via [deze link](https://appsignal.com/redirect-to/organization?to=admin/api_keys).

## Beschikbare opties

| Optie | Gebruik        | Beschrijving                                  |
| ----- | -------------- | --------------------------------------------- |
| color | `--[no-]color` | Schakel de kleuring van de uitvoer in of uit. |
