This is a kinda silly question. I've installed Inkscape on my mac (Marvericks OS) following this page http://www.inkscape.org/en/download/mac-os/
I know there is a command line option with inkscape. I tried to type inkscape on Terminal and there is no such command. I'm confused... Does this mean that I need to install the linux version of inkscape in order to use the command line?
Open Inkscape by double-clicking its icon in the Applications folder. You can open the Applications folder by selecting Go ‣ Applications from the menu bar in the Finder.
You can launch the interactive command line with inkscape --shell . The main difference to commands in the normal mode is that you need to explicitly indicate when you want to open a file, e.g. file-open:filename. svg; select:flowRootID; query-height .
On your Mac, do one of the following: Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal. In the Finder , open the /Applications/Utilities folder, then double-click Terminal.
What is the Command key? The Command or Cmd key (sometimes referred to as the Apple key) is one of the most useful keys on a Mac keyboard. The Command key is used with a single letter key for many of the Mac's most common actions: Command-C to copy, Command-P to print, Command-V to paste and so on.
I have Inkscape installed in /Applications
and running this from a terminal does the trick:
/Applications/Inkscape.app/Contents/MacOS/inkscape --help Usage: inkscape-bin [OPTIONS...] [FILE...] Available options: -V, --version Print the Inkscape version number ... etc.
For ease of use symlink it to /usr/local/bin
i.e.:
ln -s /Applications/Inkscape.app/Contents/MacOS/inkscape \ /usr/local/bin/inkscape
In general, on MacOS Inkscape needs to be called with an absolute path, and all files given as arguments should also be full paths. See also:
https://bugs.launchpad.net/inkscape/+bug/1449251
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With