# Install Akaunting - Open Source Accounting Software - On Windows

## What is Akaunting?

> Akaunting is a free, open source and online accounting software designed for small businesses and freelancers. -https://github.com/akaunting/akaunting

## Installation

1. Download XAMPP Download
2. Download Akaunting Download
3. Download Microsoft Visual C++ Download
4. Install Microsoft Visual C++
5. Right click the downloaded XAMPP .zip file > Extract All...
6. Right click the downloaded Akaunting .zip file > Extract All...
7. Rename the extacted folder to akaunting
8. Cut the akaunting folder inside the XAMPP/htdocs directory
9. Navigate into the akaunting folder > Create a copy of .env.example
10. Rename the copy .env
11. Edit the .env file in a text editor
12. Edit the values in .env as follows

    APP_URL=http://DNSorIP/akaunting
    LOCALE=en-US
    DB_HOST=localhost
    DB_PORT=3306
    DB_NAME=akaunting
    DB_USERNAME=akaunting_rw
    DB_PASSWORD=@kaunt1ng!

    DB_PREFIX=

13. Save the changes to .env and close the text editor
14. Navigate back to the Downloads directory and cut the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
15. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
16. Navigate into XAMPP/PHP and edit php.ini in a text editor
17. Find the list of extensions and make sure the following are enabled by removing the ; at the start of the line

    extension=gd
    extension=intl

18. Save the changes to php.ini and close the text editor
19. Right click the Start button > Settings > About
20. Click the Advanced system settings option
21. Click the Environment Variables...
22. Edit the System Path variable
23. Click the New button
24. Add the PHP installation directory (ie C:\Program Files\xampp\PHP\)
25. Click OK to all open dialog windows
26. Back in File Explorer, run XAMPP/xampp-control.exe
27. Click the Start buttons next to Apache and MySQL
28. Navigate to XAMPP/mysql/bin
29. Hold the SHIFT key and right click in the white space > Open PowerShell window here...
30. Run the following commands in the PowerShell window to setup the database
    # connect to mysql
    .\mysql -u root
    # create the database
    CREATE DATABASE akaunting;
    # create the service account
    GRANT ALL ON akaunting.* to 'akaunting_rw'@'localhost' IDENTIFIED BY '@kaunt1ng!';
    # flush privileges
    FLUSH PRIVILEGES;
    # close mysql connection
    EXIT;
    # change directory to the akaunting folder
    cd ..\..\htdocs\akaunting
    # generate an app key
    php artisan key:generate
    # exit powershell
    exit

## Akaunting Web Installer

1. Open a web browser and navigate to http://DNSorIP/akaunting
2. Select a Language > Click Next
3. Complete the Database form as shown below

   Hostname: localhost
   Username: akaunting_rw
   Password: @kaunt1ng!
   Database: akaunting

4. Click Next
5. Complete the Admin form by entering a Company Name, Company Email, Admin Email and Admin Password > Click Next
6. Log in with the Admin username and password
7. On the Company tab, scroll to the bottom of the form and click Skip this step
8. Select/add the desired currencies > Click Next
9. Click Next on the Taxes tab
10. Click the Create your first invoice link
11. Welcome to Akaunting

Source: https://akaunting.com/docs/installation