I downloaded the latest sas-admin CLI from https://support.sas.com/downloads/package.htm?pid=2133 and set up a profile / authenticated successfully. However it seems that none of the plugins are available. How do I proceed? Is it only possible from the Viya server directly? I'm on OSX.
➜ .sas ./sas-admin plugins list Listing available command line plugins... Name Version Description config
➜ .sas ./sas-admin plugins list-repo-plugins sas-admin plugins: 'list-repo-plugins' is not a sas-admin plugins command.
➜ .sas ./sas-admin plugins install --repo SAS authorization sas-admin plugins: 'install' is not a sas-admin plugins command. See 'sas-admin plugins --help'.
I'm using the same sas-admin and "sas-admin plugins list-repo-plugins" command works just fine:
I'm curious to see the output from "sas-admin plugins list-repos" command.
I'm using the same sas-admin and "sas-admin plugins list-repo-plugins" command works just fine:
I'm curious to see the output from "sas-admin plugins list-repos" command.
Yes, I'm on a Mac and I used the same URL as you to download sas-admin CLI.
aha - thanks!
Seems that it works just fine when you run it from the Downloads folder.
I'd actually moved the binary to the ~/.sas directory, and it seems that this is not a supported configuration.
Glad we got this solved. I just wanted to close the loop with a comment from @GerryNelson. He was approaching form the same angle as @alexal.
I don’t see any issues with what Allen is trying. I don’t have a mac system to test with. Maybe try this:
./sas-admin plugins enable-default-repo
And repeat the process.
The only other thing I can think of it that the commands were cut and paste and there are some strange characters. The “this”
is not a command would be the error you got if you miss-spelled something, or maybe there is a strange character.
Join us for SAS Community Trivia
SAS Bowl XLIII, The New SAS Developer Portal
Wednesday, August 14, 2024, at 10 a.m. ET | #SASBowl
I was trying to work on the Mac and have the same issue. sas-admin was saved on download folder;
Userid> sasboot
Password> Login succeeded. Token saved.
bash-3.2$ ./sas-admin --output text folders list-members --path /
sas-admin: 'folders' is not a sas-admin command. See 'sas-admin --help'.
bash-3.2$ pwd
/Users/vt7/Downloads
bash-3.2$ ./sas-admin plugins enable-default-repo
Enabling the default plugin repository 'SAS' at https://support.sas.com/repos/admincli...
The DefaultPluginRepoEnabled setting is set to true
bash-3.2$ ./sas-admin --output text folders list-members --path /
sas-admin: 'folders' is not a sas-admin command. See 'sas-admin --help'.
You have to install folders plugin
sas-admin plugins install --repo SAS folders
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.