Command tiup not found in new window of Konsole
Open
Nobody has claimed this yet.
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
- What did you do?
- install TiDB locally in Fedora
- open new window in Konsole
- ran
tiup
- What did you expect to see?
- be able to find
tiupcommand - more info in the documentation
- What did you see instead?
- encountering
command "tiup" not found
- What version of TiUP are you using (
tiup --version)?
1.15.2 v1.15.0-nightly-19
Go Version: go1.21.10
Git Ref: master
GitHash: 901a375541eac343d2502040a5a8d3a14489581a
- How to fix it?
- restart :D
it seems that in the new window/tab of Konsole, it only reads .bashrc because it's a non-login shell.
but after restart the OS (or maybe it can be just a logout-login), I could see tiup path in the $PATH in Konsole.
(adding the line in .bashrc make a repetition of it after restart. so not a good idea)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TiUP installation documentation and reproduce the setup in Fedora using a new Konsole window. Compare how .bashrc, login-shell initialization, and $PATH expose the tiup command, then document or correct the setup so a newly opened shell finds tiup without requiring an OS restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, fedora, go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100