Installation
Requirements
- Dart SDK (opens in a new tab)
- Compatible Operating System: MacOS, Linux
Installation Steps
Dart Activate
Install with dart tools:
dart pub global activate --source git https://github.com/acadevmy/devmy_cliInstall executable binaries
-
Navigate to the latest release (opens in a new tab) on GitHub.
-
Download the executable file compatible with your operating system:
-
For MacOS, download the
macos_latest.zipfile and extract the executable. -
For Linux, download the
ubuntu_latest.zipfile and extract the executable.
-
-
Once the download is complete, move the executable file to a directory of your choice.
-
Set an environment variable
DEVMY_CLI_HOMEto the path where you placed the executable file. You can do this by adding the following line to your shell profile configuration file (e.g.,~/.bashrc,~/.bash_profile,~/.zshrc, etc.):export DEVMY_CLI_HOME=/path/to/your/cliReplace
/path/to/your/cliwith the actual path where you placed the executable file. -
Update your
PATHenvironment variable to include the directory where the executable file is located. You can do this by adding the following line to your shell profile configuration file:export PATH="$DEVMY_CLI_HOME:$PATH" -
Save the file and restart your terminal or run
source ~/.bashrc(or the corresponding command for your shell configuration file) to apply the changes. -
You can now use
devmycommand from any directory in your terminal.