---
description: How to create your ascii art in your device a small tutorial
---

# Quickstart

### Installation

```javascript
npm install -g canvas-lang
```

### Basic Usage

create `.canvas` files containing their CanvasScript code. For example, in `myart.canvas`

Creating Canvas-lang Files

{% code overflow="wrap" lineNumbers="true" %}
```javascript
canvas {
background "black";
text "Hello World" at (5, 5) size 10 color "green";
circle at (20, 10) radius 5 fill "blue";
}
```
{% endcode %}

#### Running Scripts

To run the files,  use the command:

{% code overflow="wrap" %}
```bash
canvas-lang myart.canvas
```
{% endcode %}

***

**Interactive Usage Examples**&#x20;

{% code overflow="wrap" lineNumbers="true" %}
```javascript
# Create an art file
echo 'canvas {
  background "black";
  text "My ASCII Art" at (5, 5) size 12 color "cyan";
  rect at (10, 10) width 10 height 5 fill "red";
}' > myart.canvas

# Run it
canvas-lang myart.canvas
```
{% endcode %}
