modular icon indicating copy to clipboard operation
modular copied to clipboard

[Modular CLI] Include mojo version in Max --version

Open DWSimmons opened this issue 1 year ago • 1 comments

Issue description

I don't believe everyone knows that mojo underpins max. Instead of

darin@home:~$ max --version
max 2024.6.1505 (238bad6d)
Modular version 2024.6.1505-238bad6d-release

I think it should read

darin@home:~$ max --version
max 2024.6.1505 (238bad6d)
**mojo 2024.6.1505 (238bad6d)**
Modular version 2024.6.1505-238bad6d-release

Would be more explicit, remind people that mojo is there and ready. Also, I've heard that installing both nightly/max and nightly/mojo is not best-practice. Declaring that mojo is installed and update might discourage installing nightly/mojo (or stable).

Steps to reproduce

  • Include relevant code snippet that did not work as expected.
  • If applicable, add screenshots to help explain the problem.
  • Include anything else that might help us debug the issue.

Version Info

- Provide Modular CLI version by pasting the output of `modular -v`
modular 0.8.0 (39a426b5)
- What OS did you install modular CLI on ?
Description:    Ubuntu 22.04.4 LTS

DWSimmons avatar Jun 23 '24 17:06 DWSimmons

I noticed a change in installing nightly/max returns

max --version
max 2024.7.1505 (ba28802f)
Modular version 2024.7.1505-ba28802f-release

Isn't Modular the CLI tool and that the nightly version is mojo ? I would imagine it would like like

max --version
max 2024.7.1505 (ba28802f)
mojo  version 2024.7.1505-ba28802f-release
modular 0.8.0 (39a426b5)

or no modular line.

DWSimmons avatar Jul 25 '24 22:07 DWSimmons

Closing this, the modular CLI is now deprecated.

max and mojo also now follow the same versioning scheme, so the outputs should be similar.

Ahajha avatar Jul 07 '25 20:07 Ahajha