Getting error "postman: command not found" while executing collection in Jenkins with Postman CLI

My question: I am getting an error while executing collection in Jenkins Pipeline, I am using Mac intel machine

Details (like screenshots):

Below is the pipeline script which has been generated from Postman, few things I have updated as required:

pipeline {
agent any

tools {nodejs “Node1”}

stages {
stage(‘Install Postman CLI’) {
steps {
sh ‘curl -o- “https://dl-cli.pstmn.io/install/osx_64.sh” | sh’
}
}
stage(‘Postman CLI Login’) {
steps {
sh ‘postman login --with-api-key PMAK-6031-2d4302912’
}
}
stage(‘Running collection’) {
steps {
sh ‘postman collection run “2219022-2501447e-c8” -e “221902ad-9e0b-cd0dd289edd1”’
}
}
}
}

Above Script has been generated from Postman CLI Configuration, see the below snapshot

See the below Jenkins logs error

Hi! @SachinGupta88 Any updates? I faced this error too

Hey @satellite-candidat13 :wave:

Welcome to the Postman Community! :postman:

Can you share your specific issue including screenshots, please?

The previous issue was seen over 7 months ago and the version of the CLI and the Postman platform has progressed a lot in that time.