---
name: "stylus"
section: "1"
platform: "linux"
package: "node-stylus"
version: "0.59.0+~0.48.38-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stylus"
---

# stylus(1)

Expressive, robust, feature-rich CSS language compiler

## NAME

stylus - Expressive, robust, feature-rich CSS language compiler

## DESCRIPTION

-

  Usage: stylus \[options\] \[command\] \[\< in \[\> out\]\]

-

  \[file\|dir ...\]

-

  Commands:

- help \[\<type\>:\]\<prop\> Opens help info at MDN for \<prop\> in

  your default browser. Optionally searches other resources of \<type\>: safari opera w3c ms caniuse quirksmode

-

  Options:

- **-i**, **--interactive**

  Start interactive REPL

- **-u**, **--use** \<path\>

  Utilize the Stylus plugin at \<path\>

- **-U**, **--inline**

  Utilize image inlining via data URI support

- **-w**, **--watch**

  Watch file(s) for changes and re-compile

- **-o**, **--out** \<dir\>

  Output to \<dir\> when passing files

- **-C**, **--css** \<src\> \[dest\]

  Convert CSS input to Stylus

- **-I**, **--include** \<path\>

  Add \<path\> to lookup paths

- **-c**, **--compress**

  Compress CSS output

- **-d**, **--compare**

  Display input along with output

- **-f**, **--firebug**

  Emits debug infos in the generated CSS that can be used by the FireStylus Firebug plugin

- **-l**, **--line-numbers**

  Emits comments in the generated CSS indicating the corresponding Stylus line

- **-m**, **--sourcemap**

  Generates a sourcemap in sourcemaps v3 format

- **-q**, **--quiet**

  Less noisy output

- **--sourcemap-inline**

  Inlines sourcemap with full source text in base64 format

- **--sourcemap-root** \<url\>

  "sourceRoot" property of the generated sourcemap

**--sourcemap-base** \<path\> Base \<path\> from which sourcemap and all sources are relative

- **-P**, **--prefix** \[prefix\]

  prefix all css classes

- **-p**, **--print**

  Print out the compiled CSS

- **--import** \<file\>

  Import stylus \<file\>

- **--include-css**

  Include regular CSS on @import

- **--ext**

  Specify custom file extension for compiled file, default .css

- **-D**, **--deps**

  Display dependencies of the compiled file

- **--disable-cache**

  Disable caching

- **--hoist-atrules**

  Move @import and @charset to the top

- **-r**, **--resolve-url**

  Resolve relative urls inside imports

- **--resolve-url-nocheck**

  Like **--resolve-url** but without file existence check

- **-V**, **--version**

  Display the version of Stylus

- **-h**, **--help**

  Display help information
