Open Closed

Does the ABP CLI support Apple Silicon (M1 / ARM64)? #2275


User avatar
0
mattw@agilenova.com created

I am trying to use the ABP CLI on a Macbook Pro M1 (arm64) system with a .NET 6 application. Although I can install the CLI, all abp commands fail indicating that the 5.0.0 (arm64) framework was not found. Is the CLI available for .NET 6.0 to support use on an M1?

  1. dotnet tool install -g Volo.Abp.Cli Tools directory '/Users/REDACTED/.dotnet/tools' is not currently on the PATH environment variable. If you are using zsh, you can add it to your profile by running the following command:

cat << \EOF >> ~/.zprofile

Add .NET Core SDK tools

export PATH="$PATH:/Users/REDACTED/.dotnet/tools" EOF

And run zsh -l to make it available for current session.

You can only add it to the current session by running the following command:

export PATH="$PATH:/Users/REDACTED/.dotnet/tools"

You can invoke the tool using the following command: abp Tool 'volo.abp.cli' (version '4.4.4') was successfully installed.

  1. abp It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '5.0.0' (arm64) was not found.
  • The following frameworks were found: 6.0.0 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The ABP CLI v4.4 is based on .NET 5.0, you can try to upgrade ABP CLI to 5.0.0

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35