I'm new to this, but I've been trying to install the atlassian sdk and I'm stuck on a step that isn't well documented. From this link: https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/https://community.atlassian.com/t5/Products/ct-p/products
I followed the .tgz file approach. I placed the sdk in the /opt directory. Then to test the instructions state to open a terminal and just run "atlas-version". I get nothing. I get:
bash: atlas-version: command not found.
Now if I navigate into the /opt/atlassian-plugin-sdk/bin and run the atlas-version directly it works. What linking am I missing? I would think additional hooks would need to be setup for an application to be run in the /opt dir.
Hi @Richard Snyder ! Welcome to the Atlassian Community!
This sounds like you didn't set your PATH environment variable. Basically, Linux checks the directories in the PATH environment variable when evaluating whether something is a command to run.
To append the Atlassian SDK path type:
> export PATH="/opt/atlassian-plugin-sdk/bin:$PATH"
Note this works as long as the shell is active. To make the changes permanent, add the same line to your .bashrc
Thank you for that information, it's basic but I was having a hard time figuring it out. Not sure if it should be included in the instructions linked above, but it would be helpful as a tip in step 3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.