Wednesday, December 27, 2023
HomeApplebash - the right way to restore terminal instructions?

bash – the right way to restore terminal instructions?


I spent many of the day making an attempt to put in Ruby on my MacOs (from 2014, model 10.11.6 — I am unable to replace to larger). I lastly bought chruby put in with Homebrew after which tried to comply with the insructions right here on github for putting in ruby. The primary instruction is to run

wget https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.xz

However after I ran it, it stated -bash: wget: command not discovered

Then I attempted ls to see what would occur(as one other random command from the terminal) and that i bought the identical response: bash: ls: command not discovered

Then I attempted to open and run packages from the command line and bought the identical response. I turned the pc on and off and nonetheless no change.

Apparently, I can run homebrew instructions

brew physician prints an output, and I can do cd

vim is unavailable as is nano

The one factor I touched in my .bash_profile was this line that I added

# supply /Customers/mm/homebrew/decide/chruby/share/chruby/chruby.sh

but it surely’s the identical whether or not I depart it commented or uncomment it out.

How can I restore the terminal instructions (with associated query, why did this occur)?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments