Install
How to Install
By Ergup
By Cargo (Rust package manager):
cargo install erg
By Source (Need to install the Rust toolchain):
git clone https://github.com/erg-lang/erg.git
cd erg
cargo build --release
And Erg supports building with Nix.
Flags
By enabling the --features
flag, you can customize the installation and build.
- You can change the language of the error message by using
--features {language}
--features japanese
--features simplified_chinese
--features traditional_chinese
- Install and build ELS (Erg Language Server)
--features els
- Debugging mode (for contributors)
--features debug
- Rich REPL experience (cursor movement, pasting, history, etc.)
--features full-repl
- Makes the display look better
--features unicode
and--features pretty
- Enable all features (exclude features for developers)
--features full
- See here for more flags.