Skip to content

[BUG] bbup installation instruction for sourcing shell config file is wrong if not using bash #17579

@gin

Description

@gin

What are you trying to do?

I have a fix for this in a PR at #17580

Issue:

The instruction "Please run 'source ~/.bashrc' or restart your terminal to use bbup" is correct if user is using bash.
macOS's default is zsh, and should source ~/.zshrc

Console log of the output from bbup installation where the shell is zsh:

# Luigi @ mbp in ~ [16:08:36] 
$ curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/next/barretenberg/bbup/install | bash

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1894  100  1894    0     0  40632      0 --:--:-- --:--:-- --:--:-- 41173
Downloading bbup...
✓ Successfully installed bbup
Please run 'source ~/.bashrc' or restart your terminal to use bbup

# Luigi @ mbp in ~ [16:08:38] 
$ source ~/.bashrc
source: no such file or directory: /Users/Luigi/.bashrc

# Luigi @ mbp in ~ [16:08:57] C:127
$ source ~/.zshrc 

# Luigi @ mbp in ~ [16:09:01] 
$ bbup
Querying noir version from nargo
✓ Resolved noir version 1.0.0-beta.13 from nargo
Getting compatible barretenberg version for noir version 1.0.0-beta.13
✓ Resolved to barretenberg **version 1.2.0**
Installing to /Users/Luigi/.bb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 10.8M  100 10.8M    0     0  7458k      0  0:00:01  0:00:01 --:--:-- 10.3M
✓ Installed barretenberg to /Users/Luigi/.bb

Code Reference

n/a

Aztec Version

n/a

OS

macOS Tahoe 26.0.1

Browser (if relevant)

No response

Node Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: Bug. Something is broken.from-communityThis originated from the community :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions