NI Package Manager CLI Does Not Find Packages After Adding Feed

Updated Feb 17, 2022

Reported In

Software

  • Package Manager

Issue Details

I am using the Command Line Interface of NI package manager to automate installation of my company's internal packages.

After adding the feed via nipkg feed-add [...], I call nipkg install my-package. Then I get the following error message:

Unable to locate package 'my-package' with a compatible version and architecture. 

Solution

After adding a feed via CLI, you need to run the nipkg update command once, so that NIPM collects the information about the available packages in the freshly added feeds.

Additional Information

If you use the GUI of NIPM instead of the CLI, NIPM automatically updates its data after a change to the feeds.