installing software on MacBook in /usr/bin

You cannot install to /usr/bin because that directory is protected by SIP

However, /usr/local/ is not covered and you can write to that directory. Using /usr/local/bin is perfectly fine for what you're attempting to do as it's both writeable and in your PATH environment variable.