Building From Source
This article assumes that your development environment is setup. For instructions on how to do so, please see the Getting Started page.
By default, FreeTube is configured to build a large variety of binaries. There is a very high chance that at least one of these binaries are unable to be built on your system. In order for FreeTube to successfully build on your system, you will need to edit the build script to remove the problematic binaries before building.
_scripts/build.js in your favorite text editor and edit line 23 and line 66. Remove the options that you will not be able to create on your system and save the file afterwards. Once done, you can follow the instructions as normal.
Open up your terminal in the root of the project and run the following command:
npm run build
Once the command has finished, a new
build/ folder will be created in the project. This folder will contain any and every binary that the command has created. It will only create binaries for the OS you are running (ex: Windows can only create Windows binaries).
If you are running a 64 bit Linux OS, you will also be able to create ARM64 binaries. To do so, run the following command:
npm run build:arm
Binaries will be located in the same location as the other command.