The Devmy CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Devmy applications directly from a command shell.
Visit our online doc!
- Dart SDK
- Compatible Operating System: MacOS, Linux
Install with dart tools:
dart pub global activate --source git https://github.com/acadevmy/devmy_cli
-
Navigate to the latest release on GitHub.
-
Download the executable file compatible with your operating system:
-
For MacOS, download the
macos_latest.zip
file and extract the executable. -
For Linux, download the
ubuntu_latest.zip
file 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_HOME
to 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/cli
Replace
/path/to/your/cli
with the actual path where you placed the executable file. -
Update your
PATH
environment 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
devmy
command from any directory in your terminal.
Create a workspace:
devmy new
Run the application:
cd [WORKSPACE_NAME]
pnpm run dev