Skip to content

PATH not configured after midenup install stable on Ubuntu #181

@Alice699

Description

@Alice699

Packages versions

midenup: 0.1.0
active toolchain: 0.20.3
miden-protocol: 0.13.3
OS: Ubuntu (Linux)
Shell: bash

Bug description

After midenup install stable completes successfully, running
miden --version returns "miden: command not found".

What happened: midenup installs binaries to
~/.local/share/midenup/bin/ but does not add this path to PATH
automatically. The installation appears successful but the binary
is unreachable.

What should have happened: Either midenup should configure PATH
automatically during installation, or the installation guide should
document this manual step.

Fix that worked:
echo 'export PATH="/home/USERNAME/.local/share/midenup/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

This fix is not documented anywhere in the official docs.

How can this be reproduced?

  1. Install Rust via rustup
  2. Run: cargo install midenup
  3. Run: midenup init
  4. Run: midenup install stable (wait ~45 minutes)
  5. Run: miden --version

Result: "miden: command not found"

Relevant log output

miden: command not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions