Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
m1k1o
GitHub Repository: m1k1o/neko
Path: blob/master/webpage/docs/developer-guide/build.md
1007 views
---
description: Building Neko from source
---

Building From Source

This guide walks you through the process of setting up Neko on your local machine or server.

Start by cloning the Neko Git repository to your machine:

git clone https://github.com/m1k1o/neko.git cd neko

Building the Frontend {#frontend}

Prerequisites for building the frontend:

Navigate to the client directory and install the dependencies:

cd client; npm install; npm run build;

The npm run build command will create a production build of the frontend in the client/build directory.

Building the Server {#server}

Prerequisites for building the server:

  • go (version 1.18 or higher)

  • Dependencies for building the server:

    sudo apt-get install -y --no-install-recommends libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

Navigate to the server directory and build the server:

cd server; ./build;

This will create a binary file named neko in the bin directory along with plugins that were built with the server.