I downloaded the Octave app bundle from here. The app is in /Applications. I have been unable to open it from the terminal. I tried the command 'octave' and some other variations from the documentation.
My goal is to be able to run a file
/Users/[me]/Documents/OctavePrograms/firstlast.m in the command line by typing
octave firstlast.m or some variation of it. I would like to understand why I have been unable to run my program.