Installation π§βπ»
Welcome to the Forge cli installation guide! Follow these steps to get started with Forge cli and streamline your Flutter development.
Step 1: Install Forge cli πβ
To install Forge cli, ensure you have Dart installed on your system. Then, you can install Forge cli via Dart using the following command:
dart pub global activate forge_cli
Make sure to add the Dart bin directory to your PATH so you can run the forge_cli command from anywhere.
Step 2: Create an Account π§Ύβ
To access all features of Forge cli, including the code generation feature, you need to create an account on our website.
- Go to forgecli.dev and sign up for a new account.
Step 3: Obtain Your API Key πβ
Once you are logged in, you will receive an API key. This key is required for the build command, which is a paid feature.
Step 4: Configure Forge cli βοΈβ
To configure Forge cli with your API key, use the following command:
forge_cli token <your_api_key>
Replace <your_api_key>
with the API key you obtained from your account on the Forge cli website.
You're Ready to Go! πβ
Now you're all set to use Forge cli. Hereβs a quick overview of the available commands:
- Create a new Flutter project:
forge_cli create my_app
For more details, refer to the Create Command Documentation
- Create a new feature:
forge_cli make authentication
For more details, refer to the Make Command Documentation
- Build the feature (requires API key):
forge_cli build authentication
For more details, refer to the Build Command Documentation
Last updated: May 27, 2024