Requirements

Several SDK and tools are required to build and create a portapp.

Go

Go is the programing language used to create the portapp executable wrapper.
You need Go 1.19 that you can download on the Golang website.
Add the path to go.exe (eg. C:\go\bin) to your environment variable PATH (must be already added if you install through the MSI).
To check if you have Go in your path, open a command prompt and type go version :

go version go1.19.4 windows/amd64

OpenJDK

You need OpenJDK 11 that you can download here.
Extract the archive on your computer (eg. C:\jdk) and add the path to java.exe (eg. C:\jdk\bin) to your environment variable PATH.
To check if you have Java in your path, open a command prompt and type java -version :

openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

Apache Ant

Apache Ant is used with the OpenJDK to build and package the portapp.
You need at least Apache Ant 1.10.5 that you can download on the Apache website.
Extract the archive on your computer (eg. C:\apache-ant) and add the path to ant.bat (eg. C:\apache-ant\bin) to your environment variable PATH.
To check if you have Apache Ant in your path, open a command prompt and type ant -version :

Apache Ant(TM) version 1.10.5 compiled on July 10 2018

NodeJS

NodeJS is used to extract and compress ASAR files for apps based on Electron.
Download and install the latest LTS version for your system. Add the path to node.exe (eg. C:\Program Files\nodejs) to your environment variable PATH (must be already added if you install through the MSI).
To check if you have Node in your path, open a command prompt and type node --version :

v16.13.1

Build

Now we are going to prepare our environment in C:\portapps-dev folder and build Brave portable :

$ mkdir C:\portapps-dev
$ cd C:\portapps-dev\
$ git clone https://github.com/portapps/brave-portable
$ git clone https://github.com/portapps/portapps
$ cd brave-portable\
$ ant release

This should take a while and release files should be available in C:\portapps-dev\brave-portable\bin\release.

Create your first portapp

TODO