BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AllanBowe
Barite | Level 11

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.

 

Screenshot 2020-04-18 at 20.42.50.png

 

➜  .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'.
/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
1 ACCEPTED SOLUTION

Accepted Solutions
alexal
SAS Employee

@AllanBowe ,

I'm using the same sas-admin and "sas-admin plugins list-repo-plugins" command works just fine:

alexal_0-1587387599438.png

I'm curious to see the output from "sas-admin plugins list-repos" command.

View solution in original post

7 REPLIES 7
alexal
SAS Employee

@AllanBowe ,

I'm using the same sas-admin and "sas-admin plugins list-repo-plugins" command works just fine:

alexal_0-1587387599438.png

I'm curious to see the output from "sas-admin plugins list-repos" command.

AllanBowe
Barite | Level 11
Are you on mac? Where did you get your download?

```
➜ .sas ./sas-admin plugins list-repos
sas-admin plugins: 'list-repos' is not a sas-admin plugins command. See 'sas-admin plugins --help'.
```

```
➜ .sas ./sas-admin plugins list-repo-plugins
sas-admin plugins: 'list-repo-plugins' is not a sas-admin plugins command.
```
/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
alexal
SAS Employee

@AllanBowe ,


Yes, I'm on a Mac and I used the same URL as you to download sas-admin CLI.

AllanBowe
Barite | Level 11

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.

 

 

/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
joeFurbee
Community Manager

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 LIII, SAS Hackathon 2025
Wednesday, August 25, 2025 at 10 am.
venkattolu
Calcite | Level 5

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'.

alexal
SAS Employee

You have to install folders plugin

sas-admin plugins install --repo SAS folders

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 3454 views
  • 4 likes
  • 4 in conversation