How to upgrade dfx to the latest pre-release version

I want to upgrade dfx from the current stable version (0.11.2) to the latest pre-release (0.12.0.beta.3), so I can use the new language features in the latest Motoko Compiler release.

dfx upgrade only allows me to upgrade to 0.11.2

I think the reason it’s not working is the new versions are not in the manifest sdk/manifest.json at master · dfinity/sdk · GitHub

I think you have to reinstall:


Thanks, It turns out I just misspelt the pre-release version. 0.12.0.beta.30.12.0-beta.3