This Brew formula automates the installation process for Node.js version 18.18.2 and the Freshworks Developer Kit (FDK) in a custom folder. It also provides instructions on how to activate the FDK in a new terminal session.
Before installing the FDK, make sure your Homebrew installation is up to date. You can upgrade Homebrew to the latest version by running:
brew update
First, tap the repository containing the FDK formula:
brew tap freshworks-developers/homebrew-tap
Then, install the FDK:
brew install fdk
After tapping the repository and installing the FDK, the formula performs the following tasks:
- Downloads and installs Node.js version 18.18.2 in a custom folder.
- Installs the Freshworks Developer Kit (FDK) in the same custom folder.
Once installed, you can use the FDK by sourcing the path.bash.inc
file in a new terminal session using the following command:
source "$(brew --repository freshworks-developers/homebrew-tap)/path.bash.inc"
This command sets up the necessary environment variables and configurations required for using the FDK.
To verify that the FDK has been successfully installed, you can check its version by running the following command:
fdk -v
This command should output the version of the FDK installed on your system.
To uninstall the Freshworks Developer Kit (FDK) installed via Homebrew, run the following command:
brew uninstall fdk
This command will remove the FDK from your system.
If you no longer need to use formulas from the freshworks-developers/homebrew-tap
repository, you can untap it using the following command:
brew untap freshworks-developers/homebrew-tap
This will remove the tap from your Homebrew setup.
-
This formula assumes that the custom folder specified for installation is appropriate for your system. If you need to customize the installation location, please modify the formula accordingly.
-
Make sure to have Homebrew installed on your system before running the installation command.
-
Make sure to verify if you want to uninstall FDK and untap the repository as these actions are irreversible and will remove all associated packages and formulas from your system.
If you encounter any issues or have feedback regarding this formula, please report them to freshworks-developers/homebrew-tap. Your feedback is highly appreciated and helps improve the formula for everyone.
This formula is released under the MIT License. Feel free to modify and distribute it according to your needs.