Hello, I’m unsure if this is a problem with mise or a problem with Tuist or a problem with my setup, but every time I try to update Tuist CLI on my machine using `mise upgrade --bump` it fails with the following error:
curl: (56) The requested URL returned error: 404
mise ERROR ~/.local/share/mise/plugins/tuist/bin/download failed
* Downloading tuist release [email protected]...
curl: (56) The requested URL returned error: 404
asdf-tuist: Could not download https://github.com/tuist/tuist/releases/download/[email protected]/tuist.zip
mise ERROR failed to install asdf:tuist@[email protected]
mise ERROR ~/.local/share/mise/plugins/tuist/bin/download exited with non-zero status: exit code 1
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
Here are the verbose logs:
DEBUG ARGS: /Users/redacted/.local/bin/mise upgrade --bump -v
DEBUG EnvResults
DEBUG config: ~/redacted/.tool-versions
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: tuist@[email protected]
INFO tuist@[email protected] install
DEBUG EnvResults
INFO tuist@[email protected] bin/download
INFO tuist@[email protected] ~/.local/share/mise/plugins/tuist/bin/download
DEBUG $ ~/.local/share/mise/plugins/tuist/bin/download
INFO tuist@[email protected] * Downloading tuist release [email protected]...
curl: (56) The requested URL returned error: 404
INFO tuist@[email protected] asdf-tuist: Could not download https://github.com/tuist/tuist/releases/download/[email protected]/tuist.zip
ERROR ~/.local/share/mise/plugins/tuist/bin/download failed
Error:
0: failed to install asdf:tuist@[email protected]
1: ~/.local/share/mise/plugins/tuist/bin/download exited with non-zero status: exit code 1
Location:
src/plugins/script_manager.rs:184
Version:
2024.12.11 macos-arm64 (53ddc76 2024-12-15)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
I use `.tool-versions` to use the same Tuist version for all environments (local and CI). The file only contains one line:
tuist 4.182.0
It looks like mise is trying to update the Tuist server instead of the CLI.
Thanks for your help!
Hey @nathan-sofia!
Can you try to run mise plugins uninstall tuist as suggested here?
Thank you for your reply! Unfortunately it didn’t change anything (running the command didn’t output anything) and the original problem is still here.
I would also suggest to update mise. This log clearly shows you’re using the deprecated asdf tuist plugin that should no longer be used.
I didn’t notice my `mise` was way out of date.
Sadly this didn’t help:
DEBUG ARGS: /Users/redacted/.local/bin/mise upgrade --bump -v
DEBUG [vfox] Getting metadata for yarn
DEBUG config: ~/redacted/.tool-versions
DEBUG config: ~/.config/mise/config.toml
DEBUG $ /Users/redacted/.local/share/mise/plugins/tuist/bin/latest-stable
redirect url: https://github.com/tuist/tuist/releases/tag/[email protected]
DEBUG $ /Users/redacted/.local/share/mise/plugins/tuist/bin/list-all
INFO tuist@[email protected] [1/3] install
INFO tuist@[email protected] [1/3] bin/download
INFO tuist@[email protected] [1/3] ~/.local/share/mise/plugins/tuist/bin/download
DEBUG $ ~/.local/share/mise/plugins/tuist/bin/download
INFO tuist@[email protected] [1/3] * Downloading tuist release [email protected]...
curl: (56) The requested URL returned error: 404
INFO tuist@[email protected] [1/3] asdf-tuist: Could not download https://github.com/tuist/tuist/releases/download/[email protected]/tuist.zip
ERROR ~/.local/share/mise/plugins/tuist/bin/download failed
* Downloading tuist release [email protected]...
asdf-tuist: Could not download https://github.com/tuist/tuist/releases/download/[email protected]/tuist.zip
DEBUG [vfox] Getting metadata for yarn
DEBUG POST https://mise-versions.jdx.dev/api/tools/tuist
DEBUG config: ~/redacted/.tool-versions
DEBUG config: ~/.config/mise/config.toml
DEBUG [vfox] Getting metadata for yarn
DEBUG config: ~/redacted/.tool-versions
DEBUG config: ~/.config/mise/config.toml
DEBUG [vfox] Getting metadata for yarn
DEBUG skipping untrusted tracked config: ~/unrelated-redacted/.ruby-version
DEBUG [vfox] Getting metadata for yarn
DEBUG skipping untrusted tracked config: ~/unrelated-redacted/.ruby-version
DEBUG skipping untrusted tracked config: ~/unrelated-redacted/Gemfile
DEBUG skipping untrusted tracked config: ~/unrelated-redacted-2/.python-version
DEBUG skipping untrusted tracked config: ~/unrelated-redacted/Gemfile
DEBUG updating 1 lockfiles
Error:
0: Failed to install asdf:tuist@[email protected]: ~/.local/share/mise/plugins/tuist/bin/download exited with non-zero status: exit code 1
Location:
src/toolset/toolset_install.rs:230
Version:
2026.5.5 macos-arm64 (2026-05-10)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
I also tried to run the plugin uninstall command again after upgrading mise, to no avail.
have you tried debugging this with a coding agent? The installation still occurs via the plugin, which is wrong. mise plugins uninstall tuist helped users in the past, you can also try removing the plugin manually via rm -rf.
It said that mise was stuck using the old asdf plugin.
I was able to force usage of the new plugin by replacing `tuist` with `aqua:tuist/tuist` in `.tool-versions` to force the new “aqua” plugin. However, that’s not a suitable fix because this file is also used on Bitrise CI to install the right Tuist version, so we cannot use any mise specific syntax here.
It proposed a fix for the asdf plugin that I won’t share here because it’s deprecated (side question, will it eventually break Bitrise CI that uses plain asdf?).
I ended up uninstalling mise and tuist entirely and installing them back, and it works now.
I’m not sure what happened, I guess the migration between the previous asdf plugin and the new aqua plugin failed on my system, or never happened.
I’m not 100 % sure. You can flag an issue in mise, this is outside of our purview. We can help to an extent since mise is the recommended installation tool, but some issues need to be addressed/resolved in upstream (i.e., in mise)