-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi smartcat devs,
I recently found out that the installation steps given on CLI page for MacOS aren't proper. Here is the link for docs page:
Smartcat Command-Line Interface
The proper steps to do installation are below, please update in your documentation:
Step 1: Download CLI Binary
Download the macOS binary from the Smartcat CLI page:
👉 Smartcat Command-Line Interface
Step 2: Unzip and Move Binary
Unzip the downloaded archive
Open Finder and go to your Downloads folder.
Open another Finder window (Command+N) and navigate to your home folder (/Users/<your user name folder>) or open Terminal and enter this command open ~/.
If you don't see a bin folder there, create it (Right-click > New Folder > name it bin).
Drag and drop the smartcat file from Downloads into that bin folder.
Recommended location: /Users/<your user name folder>/bin
Example: /Users/user1/bin/smartcat
Step 3: Make the Binary Executable
Run the following command:
chmod +x ~/bin/smartcat
Step 4: Add it to your PATH
Run the following command:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc
Step 5: Apply the changes:
Run the following command:
source ~/.zshrc
Step 6: Verify Installation
Open a new terminal and run:
smartcat
If installed correctly, the Smartcat CLI will be displayed.