Use @coral-xyz/anchor-cli
instead of @serum-project/anchor-cli
. This means you can get newer versions of Anchor but also that you can't get versions of anchor from before, hence v1.2 -> v2.
Use @coral-xyz/anchor-cli
instead of @serum-project/anchor-cli
. This means you can get newer versions of Anchor but also that you can't get versions of anchor from before, hence v1.2 -> v2.