onatcipli / rename

The Rename CLI Tool is a utility designed to modify your Flutter project's AppName and BundleId across various platforms, such as iOS, Android, Macos, Linux, Windows and Web

Home Page:https://pub.dev/packages/rename

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zsh: command not found: rename

natanloterio opened this issue · comments

Hi there, i just followed the instructions:

$ pub global activate rename
$ rename

But I got this error instead:
zsh: command not found: rename

Can you give me a hint on that?

commented

You should add to you zsh profile, as instructed.
I just install this package, looks good.
If you on mac like me.

open ~/.zshrc

Add

export PATH="$PATH":"$HOME/.pub-cache/bin"

Save the file,
Open new terminal and cd to your project root, and rename should work

Also, you can check the following site for adding pub to your path

https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path

since it is not related to this package, I'm closing it