'Export is not recognize
I would like to install dot.net package but the export is not recognized in Azure App Service.
wget -q -O - https://dot.net/v1/dotnet-install.sh | bash -s -- --version 3.1.102
export PATH="\~/. github.com/JaneFun/JaneFun/tree/main:$PATH"
echo "export PATH="\~/.
github.com/JaneFun/JaneFun/tree/main:$PATH":$PATH" \>\> \~/.bashrc
However, it is not successful and appeared with this error:
export: The term 'export' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Solution 1:[1]
Looks like its working.
Which version you are using, Could you try this in the current version of the Azure CLI is 2.34.1.
For information about the latest release, see the release notes. To find your installed version and see if you need to update, run az version.
Solution 2:[2]
It looks like you are running the cmd in azure cloud shell-Powershell mode. So you are getting the below error:

So please change that to Bash and run the cmdlet and also check the versions suggested by @SnehaAgrawal-MSFT in the other answer.

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SnehaAgrawal-MSFT |
| Solution 2 | RajkumarMamidiChettu-MT |

