Skip to content

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.

Notifications You must be signed in to change notification settings

acadevmy/devmy_cli

Repository files navigation

Devmy CLI - The CLI tool for Devmy

Devmy CLI logo

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!

Development Setup

Requirements

  • Dart SDK
  • Compatible Operating System: MacOS, Linux

Installation Steps

Dart Activate

Install with dart tools:

dart pub global activate --source git https://github.com/acadevmy/devmy_cli

Install executable binaries

  1. Navigate to the latest release on GitHub.

  2. 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.

  3. Once the download is complete, move the executable file to a directory of your choice.

  4. 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.

  5. 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"
  6. Save the file and restart your terminal or run source ~/.bashrc (or the corresponding command for your shell configuration file) to apply the changes.

  7. You can now use devmy command from any directory in your terminal.

Setting Up a Project

Create a workspace:

devmy new

Run the application:

cd [WORKSPACE_NAME]
pnpm run dev

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published