At this point Fe is only available for Linux and MacOS.
Note: If you happen to be a Windows developer, consider getting involved and help us to support the Windows platform. Here would be a good place to start.
At this point Fe is only distributed via a single executable file linked from the home page. In the future we will make sure it can be installed through popular package managers such as
Depending on your operating system, the file that you download is either named
Note: We will rename the file to
feand assume that name for the rest of the guide. In the future when Fe can be installed via other mechanisms we can assume
feto become the canonical command name.
In order to be able to execute the Fe compiler we will have to make the file executable. This can be done by navigating to the directory where the file is located and executing
chmod + x <filename> (e.g.
chmod +x fe).
After we have set the proper permissions we should be able to run
./fe_amd64 --help or
./fe_mac -h and an output that should be roughly comparable to:
Fe 0.4.0-alpha Compiler for the Fe language USAGE: fe_amd64 [FLAGS] [OPTIONS] <input> FLAGS: -h, --help Prints help information --overwrite Overwrite contents of output directory` -V, --version Prints version information OPTIONS: -e, --emit <emit> Comma separated compile targets e.g. -e=bytecode,yul [default: abi,bytecode] [possible values: abi, bytecode, ast, tokens, yul, loweredAst] --optimize <optimize> Whether the Yul optimizer should be used or not e.g. --optimize=false [default: true] -o, --output-dir <output-dir> The directory to store the compiler output e.g /tmp/output [default: output] ARGS: <input> The input source file to use e.g erc20.fe