Can't get start-cli to work

I set up the service packaging environment according to the offical docs (Environment Setup - Service Packaging), but when checking the versions of all components at the end, I always get the message “start-cli: not found”.

Even tho after running the automated installer script it says “Installation succesful” and “start-cli is ready”.

Any ideas on how to get it working?

Information about my setup:
I tried installing it inside a Kapsule container (Ubuntu 26.04 LTS) on KDE Linux (immutable/atomic distro).

Reload your shell config in the current session, or better, close terminal and then try…
start-cli --version

If that doesn’t work, maybe…
find / -name "start-cli" -type f 2>/dev/null
…will give us a clue where it is and how we might add it to PATH

start-cli --version still outputs start-cli: not found.

find / -name “start-cli” -type f 2>/dev/null outputs:
/home/mark/.local/bin/start-cli
/.kapsule/host/home/mark/.local/bin/start-cli

Confirm it runs by absolute path…

/home/mark/.local/bin/start-cli --version

and confirm it’s not in the output here…

echo $PATH

/home/mark/.local/bin/start-cli --version outputs:
start-cli 0.4.0-beta.8

echo $PATH outputs:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Ah, I think this is a Ubuntu thing.

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

then

source ~/.bashrc

then

start-cli --version

Still doesn’t work.
In my container source ~/.bashrc outputs source: not found.
In my immutable enviroment it works and displays the correct start-cli version then, but there npm install and make obviously don’t work.

I didn’t actually catch that on your original post, the immutable/atomic part. It would seem you’ve made something of an explicit choice not to be able to make this a hackable dev device. Perhaps set up a working dev environment, even if a VM?

There are some benefits to immutable distros and I was hoping for Kapsule to be suitable to still get dev work done.
I brought the problem up in the KDE forum as well now and am in contact with the developer of Kapsule to maybe see if we can get it working or if it would be necessary to change something about Kapsule to fit this use case.

1 Like

Somebody in the KDE forums found a way to make it work.

Create this file inside the container:
/etc/profile.d/20-path.sh

With this content:
export PATH="$PATH:$HOME/.local/bin"

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.