# Ubuntu VM on MacBook M1 - dfx install - unknown CPU type: aarch64

**URL:** <https://forum.dfinity.org/t/ubuntu-vm-on-macbook-m1-dfx-install-unknown-cpu-type-aarch64/21486>\
**Category:** Command Line Tools\
**Tags:** dfx\
**Created:** [July 18, 2023, 6:56pm UTC](https://forum.dfinity.org/t/ubuntu-vm-on-macbook-m1-dfx-install-unknown-cpu-type-aarch64/21486 "2023-07-18T18:56:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PaulLiu](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/paulliu/32/4701_2.png) [@PaulLiu](https://forum.dfinity.org/u/PaulLiu)\
**Post date:** [July 21, 2023, 7:20am UTC](https://forum.dfinity.org/t/ubuntu-vm-on-macbook-m1-dfx-install-unknown-cpu-type-aarch64/21486/4 "2023-07-21T07:20:39Z")

</div>

If you want native aarch64 Linux support, you can try out [Introducing ic-nix, a ready made, cross-platform, and bleeding edge dev environment!](https://forum.dfinity.org/t/introducing-ic-nix-a-ready-made-cross-platform-and-bleeding-edge-dev-environment/13107). The recent build [20230704](https://github.com/ninegua/ic-nix/releases/tag/20230704) has pre-compiled binary for both aarch64 darwin and linux.

If you already have nix installed, it is as easy as one command to launch into a shell with dfx and all other tools:

```auto
nix-shell https://github.com/ninegua/ic-nix/releases/download/20230704/dfx-env.tar.gz

```

---

_[View the full topic](https://forum.dfinity.org/t/ubuntu-vm-on-macbook-m1-dfx-install-unknown-cpu-type-aarch64/21486)._
