Can you push buttons?.. it’s easier than it looks.
If you find a terminal into which you can type commands… then you too can cast magic.
Where that terminal is and what it’s called depends the operating system you use.
In Windows perhaps in the Search or Run line , type cmd
In Lunux looks to start menu all programs for Terminal
I’m on an old mac. I tried cutting and pasting the commands for setting up the first testnet this year but got errors so gave up. Did’t want to waste peoples time on here getting my old machine connected so just sitting this one out. ![]()
Do you plan to run a node, but not on that machine? To be honest, even if you aren’t I don’t think you’d be wasting anyone’s time.
There will be others like you, you will learn and be able to help them. By reading I’ll also learn, and so will others. You may help find edge case bugs and make the network stronger, or help increase the range of machines that can participate, extending their lifetime and increasing the number of participants.
People love to help too, so you may strengthen the community, and encourage others to have a go.
I could go on!
You could still upload and help give the nodes something to chew on. Every experience and error helps…
Someone is … mine now at 555MB… another 3.9TB to go
I have pasted this into my terminal - $ curl -so- https://sn-api.s3.amazonaws.com/install.sh | bash
and get this error
-bash: $: command not found
?
YOU need to remove the leading “$”
Its unfortunate that the ccommands shown are what you see on screen rather than what you need to type.
THe $ is there anyway, it is the bash prompt.
If this sounds complicated (and it can be to the newcomer) just miss out the leading “$”
Trust me ![]()
PS I catch myself out with this regularly - we all do ![]()
Its doing stuff!
Thanks for the tip.
Happy to help
Have fun.
Just noting my node is now looking at close to 600MB but I’ve seen no replies to the few requests I’d put to CLI… the ~x4 uploads of ~20MB haven’t actioned as neither has a retry of a run of nrs create … stuck on the first of those. Perhaps something is happening in slow motion and that’s useful for tracking what the network is doing??
What does this mean -
curl -so- https://sn-api.s3.amazonaws.com/install.sh | bash
=> Downloading Safe CLI package from ‘https://sn-api.s3.eu-west-2.amazonaws.com/sn_cli-0.24.0-x86_64-apple-darwin.tar.gz’…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8972k 100 8972k 0 0 1129k 0 0:00:07 0:00:07 --:–:-- 1766k
=> Unpacking Safe CLI to ‘/Users/adamtest/.safe/cli’…
=> Shell profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile
=> Create one of them and run this script again
OR
=> Append the following lines to the correct file yourself:
export PATH=$PATH:/Users/adamtest/.safe/cli
Another related “thing” that might catch you out - depending on your screen font - any commands with a double dash – can look when displayed as a single dash
See what I typed above and what I see on my terminal in the image below.
That one caused me a lot of head scratching when I first came across it
For the definitive answer here you need a Mac user… but here goes
open ~/.bash_profile with a text editor
Type in the line
export PATH=$PATH:/Users/adamtest/.safe/cli
at the end of the file . save and close the file.
Then close your terminal and open it again so that the .bash_profile file is read again and your terminal is initialised correctly
Some Mac user needs to validate this but I think its the same as on linux here.
PS if you get a message about .bash_profile not existing, simply type
touch ~/.bash_profile
and then do as above
When you say “with a text editor” do you mean the terminal?
iMac:~ Adam$ open~/.bash_profile
-bash: open~/.bash_profile: No such file or directory
iMac:~ Adam$
Stuck here .You see why it might be best for me to sit this one out ![]()
You could type ‘whereis bash’ and ‘whereis zsh’ and let us know what you get? You might just have zsh, I think mac changed over
iMac:~ Adam$ whereis bash
/bin/bash
iMac:~ Adam$ whereis zsh
/bin/zsh
iMac:~ Adam$
No, not at all - keep at at it
try nano ~/.bash_profile
note the space between the command and the file name
nano is the command for a simple text editor <— I sincerely hope that comes as std with Mac cos otherwise we really DO need a Mac person here
~/.bash_profile is the path to the file
~ is shorthand for /home/Adam
.bash_profile is the actual file name
the dot in front means it is a hidden file - which is kinda of a “We know better than you and we are hiding this file from you cos you should not normally need it” attitude - normally this works well but is confusing until you know how and why
Also - keep going! It’s a small problem, what’s happening is you’re trying to download the CLI with that command ‘curl’ line up there. CLI is like a list of commands (superpowers) to interact with the network.
Part of downloading the CLI is telling your computer ‘hey, let me run these new commands wherever I like’ which is done by adding a little line of text to the configuration files for whatever shell you’re using.
Config files are the place where you tell things how to behave! It’s lots of new words but if you just keep saying ‘hmm ok that sounds mad but there MUST be a point behind all these words’ ![]()
Did they? aw naw … zsh is great but not IMHO for beginners
Just like Apple to try to be bloody different for the sake of it
This was poor advice. Sorry. Deleted ![]()