react-native: The term ‘react-native’ is not recognized as a name of a cmdlet, function, script file, or executable program

I’ve been trying to use custom fonts in my react-native app but I keep getting the error “react-native: The term ‘react-native’ is not recognized as a name of a cmdlet, function, script file, or executable program” whenever I type react-native link to link my react-native.config.js file to my project. Any help please?

–I’m operating on Linux Mint