I have a remote server and I can `ssh` into it and when I execute `npm install` it works just fine. I can see that it's installed by calling `which npm` and i see:

`/home/ubuntu/.nvm/versions/node/v15.11.0/bin/npm`

Great.

However, when I do this via a bash script, it says

`bash: line 1: npm: command not found`

My script:

```
#!/bin/bash

ssh he-int 'npm install'

```

Why the discrepancy between the two ? It's the same commands...