The preferred method is to use the AppImage. However, each method has its own pros and cons.
AppImage | Phar | Package Manager | Git Submodule | |
---|---|---|---|---|
Cross-Platform | ✅ | ✅✅ | ✅✅ | |
Easy Installation | ✅✅ | ✅ | ✅✅ | |
Less Requirements (Being Self-Contained) |
✅✅ | ✅ | ✅✅ | |
Less (Download) Size | ✅ | ✅ | ✅ | |
Good Startup Performance | ✅ | ✅✅ | ✅ | |
Global Installation | ✅ | ✅ | ✅✅ | |
Easy to Update | ✅ | ✅ | ✅✅ | ✅✅ |
Easy to Use | ✅ | ✅ | ✅✅ |
- JIT (i.e. Just-In-Time compiler) for PHP is enabled by default in the AppImage. Although you can enable it manually for the other methods as well.
See here for instructions.
- PHP 8.0+
- GHDL
- GTKWave
-
Download Parvaj Phar file.
wget https://github.com/machitgarha/parvaj/releases/latest/download/parvaj.phar
-
Make it executable.
chmod +x parvaj.phar
-
Put it somewhere in your
$PATH
.# Supposing ~/.local/bin is in your $PATH mv parvaj.phar ~/.local/bin/parvaj
-
Done! Make sure the installation was successful:
parvaj
Use AUR helpers (parvaj-bin):
yay -S parvaj-bin
(Special thanks to @mkoushan for maintaining it)
Warning: This method is DEPRECATED. Relying on this is highly discouraged.
- PHP 8.0+
- Composer
- GHDL
- GTKWave
-
Add Parvaj as a Git submodule.
git submodule add https://github.com/machitgarha/parvaj scripts/parvaj
-
Install Parvaj dependencies:
# -d: --working-directory composer install -d scripts/parvaj
-
Done! To invoke it, run:
./scripts/parvaj/bin/parvaj