Sn_cli is 0.50.3 but after install safe -V says 0.50.1

I am trying to make a script myself but the safe install script is downloading an old version of sn_cli as per the safe_network github releases! anyone could take a look why is that happening?

edit: more info

it says its downloading 0.50.3 but if I run safe -V it shows 0.50.1!

=> Downloading Safe CLI package from ''...
=> Saving to '/tmp/tmp.IpPW4lF4si/sn_cli-0.50.3-x86_64-unknown-linux-musl.tar.gz'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   685  100   685    0     0   1770      0 --:--:-- --:--:-- --:--:--  1774
100  9.8M  100  9.8M    0     0  5246k      0  0:00:01  0:00:01 --:--:-- 9528k
=> Unpacking Safe CLI to '/home/test2/.safe/cli'...
=> Adding statement to '/home/test2/.bashrc' profile to have Safe CLI binary path in the $PATH
=> Profile '/home/test2/.bashrc' already contains a statement to set Safe CLI in the $PATH
Downloading sn_node version: 0.58.3
[00:00:39] [========================================] 9.94MB/9.94MB (0s) Done
Installing sn_node binary at /home/test2/.safe/node ...
Setting execution permissions to installed binary '/home/test2/.safe/node/sn_node'...
test2@DESKTOP-0OKGV1G:~$ safe -V
sn_cli 0.50.1
test2@DESKTOP-0OKGV1G:~$ safe node bin-version
safe_network 0.58.3

Hmm, I’m not reproducing this problem.

What command did you actually run here?

I think it’s possible you could have two different versions of safe. Perhaps one is located at ~/.safe/ and the other is located at /usr/local/bin. That could happen if you had run one install as sudo and the other as your own user.


This topic was automatically closed after 60 days. New replies are no longer allowed.