Installation
curl -fsSL https://raw.githubusercontent.com/mycli-sh/mycli/main/scripts/install.sh | shThis detects your OS and architecture, downloads the latest release, and installs
the my binary to /usr/local/bin (or ~/.local/bin if not writable).
brew install mycli-sh/tap/mycligo install mycli.sh/cli/cmd/my@latestThis installs the my binary to your $GOPATH/bin directory.
git clone https://github.com/mycli-sh/mycli.gitcd myclimake build-cliThe binary is output to ./bin/my. You can move it anywhere in your PATH:
sudo mv ./bin/my /usr/local/bin/myVerify installation
Section titled “Verify installation”my --helpYou should see the top-level help output listing available commands.
Shell completion
Section titled “Shell completion”Enable tab completion for commands, arguments, and flags by generating a completion script for your shell:
# Bashmy completion bash > /etc/bash_completion.d/my
# Zshmy completion zsh > "${fpath[1]}/_my"
# Fishmy completion fish > ~/.config/fish/completions/my.fish
# PowerShellmy completion powershell > my.ps1After installing the script, restart your shell (or source the file) to activate completions. Tab completion works for command names, subcommands, and arguments like command slugs, library names, and source names.
Updating
Section titled “Updating”To update mycli to the latest version:
my cli updatemycli also checks for updates automatically and notifies you when a new version is available.