Apache AGE Complete Installation Guide - Part 1 ( WSL tool for Windows users )
Tags: database, linux, postgres, age
Published: 2023-06-11 20:50:39

**1. Introduction and Overview**
AGE stands for Advanced Graph Extension, which is a multi-model graph database, introduced on top of PostgreSQL as an Extension from Bitnine company.

in this blog, we will have a guide for age installation step by step.

**2. Installation Guide [ windows user ]**

Since currently Windows is not supported, and it supports only Linux and Mac we can go around this by using the *WSL* tool.

**2.1 WSL**
- WSL stands for **Windows Subsystem for Linux**
- it's a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps.
- so we will use it to have a Linux terminal to be able to use it for age installation as we mentioned before.

Let's go through first how to set up WSL and use one of the Linux distros ( distributions ).


**First** open your Windows command line (CMD),
and check for **WSL** exists and if there is any problem with it or have any required updates.

`wsl`

![WSL command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/st06i790s053yjlf7i0u.png)


also, you can check directly for updates using 

`wsl.exe --update`

![WSL update command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hhbs4z3j7t6lxk7jvam0.png)

you can check for more you can do with it using the help command,

`wsl --help`



![WSL help command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y0titjdjjhj13cducxcx.png)



**Second** we have to install one of the Linux distributions to start using it ( specifically it's terminal ), for this tutorial, we will use the `Ubuntu` distro.


to install specific distribution we use the command, 
`wsl  --install -d <name of distribution>`
for our use case, we will use it for Ubuntu distribution so it will be,

`wsl  --install -d ubuntu`

after this command ubuntu will be downloaded and installed ( it may take some time to download according to your internet connection ), after installation, you have to write your UNIX username, specify your password, then restart your device to have these changes all applied and go in action.

In my case I have already installed Ubuntu before so, it directly opens the Ubuntu distro terminal to start using.


![WSL install distribution command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cg7tdo7edqetsiwghqlp.png)

**Third** After installation and restart, we start our Linux Terminal ( ubuntu terminal in this case ) either by wsl command directly in the command line ( starts the default distro installed ), 

`wsl` 

or if you have problems with it you can specify the distro to start by,

`wsl -d <distro name>`

In this case,

`wsl -d ubuntu`


![Preview Linux terminal from WSL](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/glvi8f5y9m0sfdd250mp.png)


That's Awesome! Now the problem of not supporting Windows is solved we have our Linux terminal ready to use inside our Windows OS, and we are ready to install AGE exactly as if we were using Linux OS from the beginning. 

Follow up to the next part to continue our installation journey.